Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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.001975/0.001975, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.002347/0.002347, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.531/1.531, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.1823/0.1823, allocations: 38.51 MB / 349.4 MB, free: 2.68 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.AC1ph_DC.Elementary.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor",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.002074/0.002074, allocations: 71.89 kB / 487.8 MB, free: 22.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1186, allocations: 62.41 MB / 0.5374 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005952/0.1246, allocations: 4.086 MB / 0.5414 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.1262, allocations: 0.9347 MB / 0.5423 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.1263, allocations: 15.88 kB / 0.5423 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002021/0.1265, allocations: 51.5 kB / 0.5423 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004854/0.127, allocations: 183 kB / 0.5425 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.1272, allocations: 91.83 kB / 0.5426 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004745/0.1277, allocations: 414.5 kB / 0.543 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.1279, allocations: 94.25 kB / 0.5431 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003421/0.1283, allocations: 187.2 kB / 0.5433 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/0.1286, allocations: 211.2 kB / 0.5435 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.772e-05/0.1287, allocations: 24 kB / 0.5435 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.957e-05/0.1287, allocations: 20 kB / 0.5435 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.1289, allocations: 107.6 kB / 0.5436 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.129, allocations: 151.2 kB / 0.5437 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.1294, allocations: 318.6 kB / 0.544 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1294, allocations: 3.938 kB / 0.5441 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1294, allocations: 3.938 kB / 0.5441 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1294, allocations: 0 / 0.5441 GB, free: 0.7852 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001223/0.1307, allocations: 0.632 MB / 0.5447 GB, free: 100 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1307, allocations: 16.03 kB / 0.5447 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.687e-05/0.1307, allocations: 4.75 kB / 0.5447 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.529e-05/0.1308, allocations: 58.73 kB / 0.5447 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.582e-05/0.1309, allocations: 32.8 kB / 0.5448 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.1314, allocations: 347.1 kB / 0.5451 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.1314, allocations: 24.69 kB / 0.5451 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.1315, allocations: 20 kB / 0.5452 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/0.1321, allocations: 316.5 kB / 0.5455 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1321, allocations: 4 kB / 0.5455 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.1321, allocations: 4 kB / 0.5455 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.1321, allocations: 8 kB / 0.5455 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003898/0.1325, allocations: 221.5 kB / 0.5457 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.1342, allocations: 1.34 MB / 0.547 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.1346, allocations: 141.2 kB / 0.5471 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.1347, allocations: 53.75 kB / 0.5472 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.1347, allocations: 11.98 kB / 0.5472 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.1347, allocations: 34.56 kB / 0.5472 GB, free: 13.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.1347, allocations: 224 / 0.5472 GB, free: 13.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008572/0.1356, allocations: 369 kB / 0.5476 GB, free: 12.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.1357, allocations: 77.11 kB / 0.5476 GB, free: 12.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.1359, allocations: 262.9 kB / 0.5479 GB, free: 12.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.136, allocations: 33.77 kB / 0.5479 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.1361, allocations: 211.9 kB / 0.5481 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/0.1362, allocations: 43.58 kB / 0.5482 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.602e-05/0.1363, allocations: 49.69 kB / 0.5482 GB, free: 12.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1365, allocations: 338.8 kB / 0.5485 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-05/0.1366, allocations: 51.97 kB / 0.5486 GB, free: 11.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.1367, allocations: 152.8 kB / 0.5487 GB, free: 11.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.137, allocations: 232.7 kB / 0.549 GB, free: 11.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.137, allocations: 4 kB / 0.549 GB, free: 11.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000399/0.1374, allocations: 249.4 kB / 0.5492 GB, free: 11.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1375, allocations: 4 kB / 0.5492 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.1375, allocations: 8 kB / 0.5492 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.233e-05/0.1375, allocations: 11.98 kB / 0.5492 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.1377, allocations: 43.92 kB / 0.5493 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.1377, allocations: 11.92 kB / 0.5493 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.1378, allocations: 15.89 kB / 0.5493 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.1379, allocations: 8 kB / 0.5493 GB, free: 10.99 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 0.000166/0.138, allocations: 165.8 kB / 0.5495 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.1381, allocations: 31.78 kB / 0.5495 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003632/0.1384, allocations: 194.7 kB / 0.5497 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1384, allocations: 4 kB / 0.5497 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1384, allocations: 0 / 0.5497 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.1385, allocations: 7.922 kB / 0.5497 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007238/0.1392, allocations: 0.546 MB / 0.5502 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1392, allocations: 4 kB / 0.5502 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.1393, allocations: 35.95 kB / 0.5503 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.1393, allocations: 4 kB / 0.5503 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1393, allocations: 3.938 kB / 0.5503 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.1394, allocations: 7.984 kB / 0.5503 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1394, allocations: 0 / 0.5503 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.1397, allocations: 292.9 kB / 0.5506 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.596e-05/0.1398, allocations: 108.9 kB / 0.5507 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.1398, allocations: 3.938 kB / 0.5507 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.14, allocations: 8 kB / 0.5507 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.14, allocations: 11.92 kB / 0.5507 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.14, allocations: 4 kB / 0.5507 GB, free: 9.461 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.1402, allocations: 182 kB / 0.5509 GB, free: 9.285 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1402, allocations: 0 / 0.5509 GB, free: 9.285 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003423/0.1405, allocations: 52 kB / 0.5509 GB, free: 9.234 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007376/0.1413, allocations: 0.8233 MB / 0.5517 GB, free: 8.379 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003351/0.1416, allocations: 163.4 kB / 0.5519 GB, free: 8.223 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1416, allocations: 8 kB / 0.5519 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.1417, allocations: 67.91 kB / 0.5519 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.1423, allocations: 59.77 kB / 0.552 GB, free: 8.094 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.1455, allocations: 2.56 MB / 0.5545 GB, free: 5.348 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.1459, allocations: 0.7792 MB / 0.5553 GB, free: 4.543 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.1461, allocations: 46.25 kB / 0.5553 GB, free: 4.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.1463, allocations: 87.41 kB / 0.5554 GB, free: 4.414 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1463, allocations: 3.938 kB / 0.5554 GB, free: 4.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.1689, allocations: 5.003 MB / 0.5603 GB, free: 15.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.575/8.744, allocations: 8.062 kB / 0.5603 GB, free: 15.52 MB / 430.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.70406489900779] Failed to read output from testmodel.py, exit status != 0: 8.87566382996738 8.897927785 8.764994631 Calling exit ...