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.001423/0.001423, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001646/0.001646, allocations: 214.3 kB / 23.74 MB, free: 4.656 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.1866/0.1866, allocations: 38.53 MB / 352.5 MB, free: 12.54 MB / 286.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="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: 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.002044/0.002044, allocations: 63.84 kB / 492.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3799, allocations: 62.47 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.009506/0.3894, allocations: 4.199 MB / 0.5461 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002537/0.392, allocations: 0.9345 MB / 0.547 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.3922, allocations: 15.12 kB / 0.547 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.3925, allocations: 56.12 kB / 0.5471 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007469/0.3932, allocations: 184 kB / 0.5473 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.3936, allocations: 87.98 kB / 0.5473 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007075/0.3943, allocations: 408.4 kB / 0.5477 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002686/0.3946, allocations: 78 kB / 0.5478 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004886/0.3951, allocations: 190.2 kB / 0.548 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005436/0.3956, allocations: 216.3 kB / 0.5482 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.3957, allocations: 20.66 kB / 0.5482 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.287e-05/0.3957, allocations: 21.44 kB / 0.5482 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.3959, allocations: 111.2 kB / 0.5483 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.3962, allocations: 150 kB / 0.5485 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005669/0.3967, allocations: 310.2 kB / 0.5488 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3967, allocations: 3.938 kB / 0.5488 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3967, allocations: 0 / 0.5488 GB, free: 11.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.3968, allocations: 5.188 kB / 0.5488 GB, free: 11.23 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.001592/0.3983, allocations: 0.5616 MB / 0.5493 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.3984, allocations: 13.89 kB / 0.5493 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.3985, allocations: 54.8 kB / 0.5494 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.3986, allocations: 32.22 kB / 0.5494 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007931/0.3994, allocations: 284 kB / 0.5497 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.3994, allocations: 21.53 kB / 0.5497 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.385e-05/0.3995, allocations: 26.5 kB / 0.5497 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008434/0.4003, allocations: 316.5 kB / 0.5501 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.4004, allocations: 1.281 kB / 0.5501 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.4004, allocations: 10.75 kB / 0.5501 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.4004, allocations: 14 kB / 0.5501 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006447/0.4011, allocations: 217 kB / 0.5503 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002828/0.4039, allocations: 1.305 MB / 0.5516 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000543/0.4044, allocations: 142.5 kB / 0.5517 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.4046, allocations: 57.62 kB / 0.5517 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.4046, allocations: 1.094 kB / 0.5517 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/0.4047, allocations: 40.95 kB / 0.5518 GB, free: 8.711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 2.895e-06/0.4047, allocations: 0 / 0.5518 GB, free: 8.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001218/0.4059, allocations: 369.2 kB / 0.5521 GB, free: 8.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.915e-05/0.406, allocations: 78.2 kB / 0.5522 GB, free: 8.395 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004443/0.4064, allocations: 269.2 kB / 0.5525 GB, free: 8.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.4065, allocations: 30.61 kB / 0.5525 GB, free: 8.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.4067, allocations: 201.1 kB / 0.5527 GB, free: 7.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.328e-05/0.4068, allocations: 57.59 kB / 0.5527 GB, free: 7.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.4069, allocations: 41.45 kB / 0.5528 GB, free: 7.902 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000244/0.4071, allocations: 344.9 kB / 0.5531 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.4073, allocations: 57.02 kB / 0.5532 GB, free: 7.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.4076, allocations: 142.6 kB / 0.5533 GB, free: 7.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/0.4081, allocations: 232.2 kB / 0.5535 GB, free: 7.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4081, allocations: 1.25 kB / 0.5535 GB, free: 7.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006301/0.4087, allocations: 246 kB / 0.5538 GB, free: 7.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.4088, allocations: 5.969 kB / 0.5538 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.4088, allocations: 4.156 kB / 0.5538 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.4088, allocations: 5.312 kB / 0.5538 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.4091, allocations: 55.75 kB / 0.5538 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.411e-05/0.4091, allocations: 17.28 kB / 0.5538 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.4094, allocations: 12.39 kB / 0.5539 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.4094, allocations: 12.78 kB / 0.5539 GB, free: 7.004 MB / 398.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.0002592/0.4097, allocations: 158.7 kB / 0.554 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/0.4097, allocations: 23.2 kB / 0.554 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005263/0.4103, allocations: 191.5 kB / 0.5542 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.4103, allocations: 2.531 kB / 0.5542 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.4103, allocations: 5.594 kB / 0.5542 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.4103, allocations: 3.984 kB / 0.5542 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.4115, allocations: 0.5226 MB / 0.5547 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.4115, allocations: 1.094 kB / 0.5548 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.4117, allocations: 30.02 kB / 0.5548 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.4117, allocations: 5.062 kB / 0.5548 GB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.4117, allocations: 6.344 kB / 0.5548 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.4117, allocations: 4.938 kB / 0.5548 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4117, allocations: 1.25 kB / 0.5548 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005429/0.4123, allocations: 304.4 kB / 0.5551 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.4123, allocations: 25.94 kB / 0.5551 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/0.4124, allocations: 10.36 kB / 0.5551 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.4126, allocations: 9.312 kB / 0.5551 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.4127, allocations: 12.61 kB / 0.5551 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.4127, allocations: 7.531 kB / 0.5551 GB, free: 5.988 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002847/0.413, allocations: 184.6 kB / 0.5553 GB, free: 5.859 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.413, allocations: 1.094 kB / 0.5553 GB, free: 5.859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006099/0.4136, allocations: 47.72 kB / 0.5554 GB, free: 5.855 MB / 398.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.001011/0.4146, allocations: 0.8284 MB / 0.5562 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004849/0.4151, allocations: 159.9 kB / 0.5563 GB, free: 5.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4151, allocations: 0 / 0.5563 GB, free: 5.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.4152, allocations: 63.19 kB / 0.5564 GB, free: 4.996 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007948/0.416, allocations: 61.5 kB / 0.5565 GB, free: 4.965 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004919/0.421, allocations: 2.548 MB / 0.5589 GB, free: 2.484 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006292/0.4216, allocations: 0.787 MB / 0.5597 GB, free: 1.672 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002314/0.4218, allocations: 42.25 kB / 0.5597 GB, free: 1.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.422, allocations: 87.41 kB / 0.5598 GB, free: 1.547 MB / 398.1 MB Notification: Performance of SimCode: time 1.173e-06/0.422, allocations: 4 kB / 0.5598 GB, free: 1.543 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04649/0.4685, allocations: 5.216 MB / 0.5649 GB, free: 12.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.66, allocations: 18.86 kB / 0.5649 GB, free: 12.45 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.566141314106062] Failed to read output from testmodel.py, exit status != 0: 11.789515576092526 11.813689843 11.412168273 Calling exit ...