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.0009691/0.0009691, allocations: 79.7 kB / 20.67 MB, free: 3.883 MB / 18.57 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.001036/0.001036, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 18.57 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 0.8894/0.8894, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2309/0.2309, allocations: 29.4 MB / 290.1 MB, free: 2.445 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.072e-05, allocations: 4.109 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.004058/0.004078, allocations: 3.976 MB / 434.2 MB, free: 9.598 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.005328, allocations: 0.8724 MB / 435.1 MB, free: 8.723 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.005501, allocations: 19.81 kB / 435.1 MB, free: 8.703 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.005689, allocations: 51.5 kB / 435.1 MB, free: 8.652 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004011/0.00609, allocations: 190.8 kB / 435.3 MB, free: 8.465 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.006258, allocations: 91.73 kB / 435.4 MB, free: 8.375 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003239/0.006581, allocations: 414.4 kB / 435.8 MB, free: 7.969 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.006758, allocations: 78.69 kB / 435.9 MB, free: 7.887 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003129/0.00707, allocations: 251.2 kB / 436.1 MB, free: 7.641 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.007317, allocations: 191.5 kB / 436.3 MB, free: 7.453 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.007353, allocations: 20 kB / 436.3 MB, free: 7.434 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.39e-05/0.007386, allocations: 20 kB / 436.4 MB, free: 7.414 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.00749, allocations: 127.6 kB / 436.5 MB, free: 7.289 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.778e-05/0.007587, allocations: 99.69 kB / 436.6 MB, free: 7.191 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.007884, allocations: 311 kB / 436.9 MB, free: 6.887 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.007887, allocations: 0 / 436.9 MB, free: 6.887 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.007889, allocations: 0 / 436.9 MB, free: 6.887 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.007894, allocations: 4 kB / 436.9 MB, free: 6.883 MB / 410.7 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.000898/0.008792, allocations: 0.5566 MB / 437.4 MB, free: 6.297 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.008838, allocations: 11.98 kB / 437.5 MB, free: 6.285 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.42e-05/0.008892, allocations: 62.72 kB / 437.5 MB, free: 6.215 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.008942, allocations: 36.7 kB / 437.6 MB, free: 6.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.009285, allocations: 279.7 kB / 437.8 MB, free: 5.883 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.009301, allocations: 16.88 kB / 437.8 MB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.009325, allocations: 28.36 kB / 437.9 MB, free: 5.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.009639, allocations: 320.1 kB / 438.2 MB, free: 5.496 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.009649, allocations: 4 kB / 438.2 MB, free: 5.492 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.009667, allocations: 8 kB / 438.2 MB, free: 5.484 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.009675, allocations: 7.938 kB / 438.2 MB, free: 5.477 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.009908, allocations: 217.8 kB / 438.4 MB, free: 5.262 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.01095, allocations: 1.256 MB / 439.7 MB, free: 3.918 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.01118, allocations: 141.2 kB / 439.8 MB, free: 3.762 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.669e-05/0.01124, allocations: 57.97 kB / 439.9 MB, free: 3.699 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.01126, allocations: 3.938 kB / 439.9 MB, free: 3.695 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.01128, allocations: 38.55 kB / 439.9 MB, free: 3.648 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.01129, allocations: 0 / 439.9 MB, free: 3.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005543/0.01184, allocations: 380.5 kB / 440.3 MB, free: 3.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.01188, allocations: 77.11 kB / 440.4 MB, free: 3.176 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.01205, allocations: 272.2 kB / 440.6 MB, free: 2.906 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.01206, allocations: 29.7 kB / 440.6 MB, free: 2.871 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.617e-05/0.01216, allocations: 204 kB / 440.8 MB, free: 2.664 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.01219, allocations: 47.64 kB / 440.9 MB, free: 2.617 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.01224, allocations: 41.7 kB / 440.9 MB, free: 2.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.454e-05/0.01233, allocations: 338.8 kB / 441.3 MB, free: 2.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.063e-05/0.01239, allocations: 51.95 kB / 441.3 MB, free: 2.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.675e-05/0.01248, allocations: 148.8 kB / 441.5 MB, free: 1.988 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.01266, allocations: 224.6 kB / 441.7 MB, free: 1.723 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.01266, allocations: 0 / 441.7 MB, free: 1.723 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002277/0.01289, allocations: 257.1 kB / 441.9 MB, free: 1.465 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.0129, allocations: 4 kB / 441.9 MB, free: 1.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01291, allocations: 4 kB / 441.9 MB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.01292, allocations: 4 kB / 441.9 MB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.01303, allocations: 52.34 kB / 442 MB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.01304, allocations: 12 kB / 442 MB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.413e-05/0.0131, allocations: 11.95 kB / 442 MB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.01312, allocations: 19.92 kB / 442 MB, free: 1.359 MB / 410.7 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.0001009/0.01322, allocations: 157.6 kB / 442.2 MB, free: 1.195 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.01324, allocations: 23.86 kB / 442.2 MB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.01345, allocations: 206.8 kB / 442.4 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01346, allocations: 4 kB / 442.4 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.01346, allocations: 0 / 442.4 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.01346, allocations: 0 / 442.4 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.01389, allocations: 0.5178 MB / 442.9 MB, free: 400 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01389, allocations: 0 / 442.9 MB, free: 400 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.828e-05/0.01396, allocations: 23.98 kB / 443 MB, free: 376 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01396, allocations: 4 kB / 443 MB, free: 372 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.01397, allocations: 4 kB / 443 MB, free: 368 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.01397, allocations: 4 kB / 443 MB, free: 364 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01397, allocations: 0 / 443 MB, free: 364 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.01417, allocations: 295.9 kB / 443.3 MB, free: 48 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.01419, allocations: 23.81 kB / 443.3 MB, free: 24 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.01421, allocations: 7.984 kB / 443.3 MB, free: 16 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.564e-05/0.01427, allocations: 4 kB / 443.3 MB, free: 12 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.1576/0.1719, allocations: 19.11 kB / 443.3 MB, free: 54.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.1719, allocations: 4.469 kB / 443.3 MB, free: 54.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001608/0.1721, allocations: 186.2 kB / 443.5 MB, free: 54.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1721, allocations: 3.062 kB / 443.5 MB, free: 54.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002807/0.1724, allocations: 50.64 kB / 443.6 MB, free: 54.34 MB / 410.7 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.000375/0.1727, allocations: 0.8172 MB / 444.4 MB, free: 53.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.1729, allocations: 148.7 kB / 444.5 MB, free: 53.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1729, allocations: 1.625 kB / 444.5 MB, free: 53.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.551e-05/0.173, allocations: 67.11 kB / 444.6 MB, free: 53.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.1734, allocations: 62.16 kB / 444.6 MB, free: 53.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.1749, allocations: 2.545 MB / 447.2 MB, free: 52.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.175, allocations: 174 kB / 447.4 MB, free: 51.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.89e-05/0.1751, allocations: 38.64 kB / 447.4 MB, free: 51.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.877e-05/0.1752, allocations: 91.14 kB / 447.5 MB, free: 51.88 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1752, allocations: 3.031 kB / 447.5 MB, free: 51.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.1921, allocations: 5.775 MB / 453.3 MB, free: 50.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.627/6.819, allocations: 5.828 kB / 453.3 MB, free: 50.71 MB / 410.7 MB " [Timeout remaining time 653] (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: 8.636701306328177] Failed to read output from testmodel.py, exit status != 0: 6.899452432990074 6.9057937780000005 6.896460251 Calling exit ...