Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Tables.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1891/0.1891, allocations: 38.51 MB / 349.4 MB, free: 2.586 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Tables",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Tables",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 71.89 kB / 487.8 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1241, allocations: 62.42 MB / 0.5373 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003392/0.1275, allocations: 1.411 MB / 0.5387 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009069/0.1284, allocations: 0.491 MB / 0.5392 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.521e-05/0.1285, allocations: 0 / 0.5392 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.1287, allocations: 15.86 kB / 0.5392 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.1289, allocations: 83.61 kB / 0.5393 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.1292, allocations: 87.72 kB / 0.5394 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.1294, allocations: 67.81 kB / 0.5394 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.1294, allocations: 4.188 kB / 0.5394 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.1296, allocations: 27.86 kB / 0.5395 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.692e-05/0.1297, allocations: 39.77 kB / 0.5395 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1297, allocations: 4 kB / 0.5395 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.1299, allocations: 95.94 kB / 0.5396 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.783e-05/0.13, allocations: 23.91 kB / 0.5396 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.13, allocations: 19.88 kB / 0.5396 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.1303, allocations: 143.7 kB / 0.5398 GB, free: 5.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1304, allocations: 4 kB / 0.5398 GB, free: 5.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1304, allocations: 0 / 0.5398 GB, free: 5.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.1304, allocations: 0 / 0.5398 GB, free: 5.055 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005669/0.1309, allocations: 406.7 kB / 0.5402 GB, free: 4.609 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.131, allocations: 12.03 kB / 0.5402 GB, free: 4.598 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.546e-05/0.131, allocations: 4.188 kB / 0.5402 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.303e-05/0.131, allocations: 30.75 kB / 0.5402 GB, free: 4.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.1311, allocations: 8.891 kB / 0.5402 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.1313, allocations: 192.3 kB / 0.5404 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1313, allocations: 12.31 kB / 0.5404 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.1314, allocations: 7.938 kB / 0.5404 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1315, allocations: 59.41 kB / 0.5405 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1315, allocations: 0 / 0.5405 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-06/0.1315, allocations: 0 / 0.5405 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1315, allocations: 0 / 0.5405 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.822e-05/0.1316, allocations: 19.98 kB / 0.5405 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.132, allocations: 300.8 kB / 0.5408 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.1321, allocations: 34.56 kB / 0.5408 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.727e-05/0.1321, allocations: 12.92 kB / 0.5408 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.1321, allocations: 0 / 0.5408 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.1322, allocations: 30.56 kB / 0.5409 GB, free: 3.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.1322, allocations: 0 / 0.5409 GB, free: 3.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002126/0.1324, allocations: 73.56 kB / 0.5409 GB, free: 3.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.1325, allocations: 77.11 kB / 0.541 GB, free: 3.598 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.1327, allocations: 152.7 kB / 0.5412 GB, free: 3.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1327, allocations: 25.7 kB / 0.5412 GB, free: 3.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.1327, allocations: 100.1 kB / 0.5413 GB, free: 3.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.1328, allocations: 11.95 kB / 0.5413 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.1328, allocations: 13.72 kB / 0.5413 GB, free: 3.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.133, allocations: 318.8 kB / 0.5416 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.874e-05/0.133, allocations: 8 kB / 0.5416 GB, free: 2.949 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.473e-05/0.133, allocations: 21.89 kB / 0.5416 GB, free: 2.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.291e-05/0.133, allocations: 28.88 kB / 0.5417 GB, free: 2.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1331, allocations: 3.938 kB / 0.5417 GB, free: 2.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.987e-05/0.1331, allocations: 49.64 kB / 0.5417 GB, free: 2.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1332, allocations: 8 kB / 0.5417 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1332, allocations: 0 / 0.5417 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1332, allocations: 0 / 0.5417 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.235e-05/0.1333, allocations: 11.92 kB / 0.5417 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1333, allocations: 4.031 kB / 0.5417 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.1333, allocations: 3.938 kB / 0.5417 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1333, allocations: 4 kB / 0.5417 GB, free: 2.801 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.302e-05/0.1334, allocations: 117.8 kB / 0.5419 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.1334, allocations: 7.953 kB / 0.5419 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.1336, allocations: 61.86 kB / 0.5419 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.1336, allocations: 4 kB / 0.5419 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1336, allocations: 0 / 0.5419 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1336, allocations: 3.938 kB / 0.5419 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.1338, allocations: 177.6 kB / 0.5421 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1338, allocations: 0 / 0.5421 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.526e-05/0.1338, allocations: 4 kB / 0.5421 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1338, allocations: 0 / 0.5421 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.1338, allocations: 0 / 0.5421 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1338, allocations: 0 / 0.5421 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1338, allocations: 4 kB / 0.5421 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.134, allocations: 155.4 kB / 0.5423 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.35e-05/0.134, allocations: 92.98 kB / 0.5423 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.1341, allocations: 0 / 0.5423 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.498e-05/0.1341, allocations: 4 kB / 0.5423 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/0.1341, allocations: 3.938 kB / 0.5424 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.1341, allocations: 0 / 0.5424 GB, free: 2.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.1343, allocations: 123.2 kB / 0.5425 GB, free: 1.949 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1343, allocations: 0 / 0.5425 GB, free: 1.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.1345, allocations: 31.92 kB / 0.5425 GB, free: 1.918 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001942/0.1365, allocations: 1.028 MB / 0.5435 GB, free: 1.031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.1366, allocations: 15.94 kB / 0.5435 GB, free: 1.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.1366, allocations: 7.938 kB / 0.5435 GB, free: 1.008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.261e-05/0.1366, allocations: 11.98 kB / 0.5435 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.137, allocations: 15.94 kB / 0.5436 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.1385, allocations: 1.387 MB / 0.5449 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.1388, allocations: 0.6885 MB / 0.5456 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.984e-05/0.1389, allocations: 16.05 kB / 0.5456 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.139, allocations: 23.42 kB / 0.5456 GB, free: 14.76 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.139, allocations: 0 / 0.5456 GB, free: 14.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.1612, allocations: 3.059 MB / 0.5486 GB, free: 11.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.36/8.521, allocations: 11.98 kB / 0.5486 GB, free: 11.7 MB / 414.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Tables.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Tables_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Tables.fmu > PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.57394391199341] Failed to read output from testmodel.py, exit status != 0: 8.705041715991683 8.731241322 8.595814923 Calling exit ...