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.0007917/0.0007917, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008835/0.0008835, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8871/0.8871, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2281/0.2281, allocations: 29.41 MB / 290.1 MB, free: 2.457 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 2.404e-06/2.404e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.966e-05, allocations: 2.281 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.00368/0.0037, allocations: 3.98 MB / 434.2 MB, free: 9.602 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.004799, allocations: 0.8762 MB / 435.1 MB, free: 8.723 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.004943, allocations: 11.88 kB / 435.1 MB, free: 8.711 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.005143, allocations: 55.5 kB / 435.1 MB, free: 8.656 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003896/0.005533, allocations: 186.8 kB / 435.3 MB, free: 8.473 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.005684, allocations: 91.75 kB / 435.4 MB, free: 8.383 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.005975, allocations: 414.4 kB / 435.8 MB, free: 7.977 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.006152, allocations: 82.67 kB / 435.9 MB, free: 7.891 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.006441, allocations: 255.2 kB / 436.1 MB, free: 7.641 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.006664, allocations: 183.5 kB / 436.3 MB, free: 7.461 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.006695, allocations: 23.94 kB / 436.3 MB, free: 7.438 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.875e-05/0.006724, allocations: 20 kB / 436.4 MB, free: 7.418 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.006938, allocations: 123.6 kB / 436.5 MB, free: 7.297 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.265e-05/0.007021, allocations: 103.7 kB / 436.6 MB, free: 7.195 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.007284, allocations: 311 kB / 436.9 MB, free: 6.891 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.007286, allocations: 0 / 436.9 MB, free: 6.891 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.007287, allocations: 4 kB / 436.9 MB, free: 6.887 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.007292, allocations: 0 / 436.9 MB, free: 6.887 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.0007026/0.007995, allocations: 0.5565 MB / 437.4 MB, free: 6.301 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.00803, allocations: 15.98 kB / 437.5 MB, free: 6.285 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.643e-05/0.008077, allocations: 58.73 kB / 437.5 MB, free: 6.219 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.00812, allocations: 36.7 kB / 437.6 MB, free: 6.184 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.008431, allocations: 275.7 kB / 437.8 MB, free: 5.891 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.008447, allocations: 16.88 kB / 437.8 MB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.008476, allocations: 24.38 kB / 437.9 MB, free: 5.852 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.008781, allocations: 324.1 kB / 438.2 MB, free: 5.504 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.008792, allocations: 3.938 kB / 438.2 MB, free: 5.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.008809, allocations: 8 kB / 438.2 MB, free: 5.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.008817, allocations: 4 kB / 438.2 MB, free: 5.488 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.009047, allocations: 213.8 kB / 438.4 MB, free: 5.277 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.01015, allocations: 1.26 MB / 439.7 MB, free: 3.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.01039, allocations: 145.2 kB / 439.8 MB, free: 3.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.773e-05/0.01046, allocations: 57.75 kB / 439.9 MB, free: 3.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.01047, allocations: 0 / 439.9 MB, free: 3.707 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.01049, allocations: 34.56 kB / 439.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.0105, allocations: 4.219 kB / 439.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005607/0.01106, allocations: 376.9 kB / 440.3 MB, free: 3.285 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.01109, allocations: 81.09 kB / 440.4 MB, free: 3.188 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.01125, allocations: 268.1 kB / 440.6 MB, free: 2.922 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.01126, allocations: 25.7 kB / 440.6 MB, free: 2.891 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.01143, allocations: 212 kB / 440.8 MB, free: 2.676 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.01146, allocations: 51.62 kB / 440.9 MB, free: 2.625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.01151, allocations: 41.7 kB / 440.9 MB, free: 2.578 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.827e-05/0.01159, allocations: 338.8 kB / 441.3 MB, free: 2.238 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.106e-05/0.01165, allocations: 52.09 kB / 441.3 MB, free: 2.188 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.584e-05/0.01174, allocations: 156.3 kB / 441.5 MB, free: 1.992 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.01192, allocations: 228.7 kB / 441.7 MB, free: 1.723 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.01192, allocations: 4 kB / 441.7 MB, free: 1.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002231/0.01215, allocations: 257.5 kB / 441.9 MB, free: 1.461 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.01216, allocations: 4.781 kB / 442 MB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01217, allocations: 4 kB / 442 MB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.01218, allocations: 4 kB / 442 MB, free: 1.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.01229, allocations: 51.91 kB / 442 MB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.01229, allocations: 8 kB / 442 MB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.408e-05/0.01236, allocations: 7.953 kB / 442 MB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.01237, allocations: 15.94 kB / 442 MB, free: 1.367 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 9.52e-05/0.01247, allocations: 161.6 kB / 442.2 MB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.01249, allocations: 23.86 kB / 442.2 MB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.0127, allocations: 203.3 kB / 442.4 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.0127, allocations: 4 kB / 442.4 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01271, allocations: 0 / 442.4 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.01271, allocations: 0 / 442.4 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006529/0.01336, allocations: 0.5178 MB / 442.9 MB, free: 404 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.01336, allocations: 0 / 442.9 MB, free: 404 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.159e-05/0.01344, allocations: 23.98 kB / 443 MB, free: 380 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.01344, allocations: 4 kB / 443 MB, free: 376 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.01345, allocations: 4 kB / 443 MB, free: 372 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.01345, allocations: 4 kB / 443 MB, free: 368 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01345, allocations: 4.031 kB / 443 MB, free: 364 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.01369, allocations: 299.9 kB / 443.3 MB, free: 44 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.01371, allocations: 19.81 kB / 443.3 MB, free: 24 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.01373, allocations: 4 kB / 443.3 MB, free: 20 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.751e-05/0.01378, allocations: 4 kB / 443.3 MB, free: 16 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.01381, allocations: 15.91 kB / 443.3 MB, free: 0 / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-05/0.01386, allocations: 3.953 kB / 443.3 MB, free: 54.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001411/0.014, allocations: 184.5 kB / 443.5 MB, free: 54.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.014, allocations: 0 / 443.5 MB, free: 54.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002933/0.01429, allocations: 49.34 kB / 443.6 MB, free: 54.33 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.0003599/0.01465, allocations: 0.8224 MB / 444.4 MB, free: 53.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.01487, allocations: 152 kB / 444.5 MB, free: 53.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01487, allocations: 1.531 kB / 444.5 MB, free: 53.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.562e-05/0.01493, allocations: 67.48 kB / 444.6 MB, free: 53.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.0153, allocations: 66.34 kB / 444.7 MB, free: 53.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.01693, allocations: 2.527 MB / 447.2 MB, free: 52.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.449e-05/0.01702, allocations: 175.9 kB / 447.4 MB, free: 51.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.239e-05/0.01712, allocations: 46.22 kB / 447.4 MB, free: 51.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.479e-05/0.0172, allocations: 94.69 kB / 447.5 MB, free: 51.86 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0172, allocations: 3.562 kB / 447.5 MB, free: 51.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/0.03733, allocations: 5.781 MB / 453.3 MB, free: 50.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.919/6.957, allocations: 7.359 kB / 453.3 MB, free: 50.7 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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00027027 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: 9.033278495073318] Failed to read output from testmodel.py, exit status != 0: 7.20326654240489 7.211694412 7.202074206 Calling exit ...