Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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.001199/0.001199, allocations: 88.33 kB / 20.96 MB, free: 3.469 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.001323/0.001323, allocations: 161.3 kB / 24.27 MB, free: 164 kB / 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.885/0.885, allocations: 177.2 MB / 204.6 MB, free: 5.605 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.2364/0.2364, allocations: 29.42 MB / 290.5 MB, free: 2.43 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.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 368.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.725e-05, allocations: 2.312 kB / 368.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003204/0.003222, allocations: 3.422 MB / 371.8 MB, free: 8.367 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.004551, allocations: 1.43 MB / 373.2 MB, free: 6.93 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.004666, allocations: 15.88 kB / 373.2 MB, free: 6.914 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005278/0.005194, allocations: 250.9 kB / 373.5 MB, free: 6.668 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004447/0.005639, allocations: 290.6 kB / 373.8 MB, free: 6.383 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.005869, allocations: 127.5 kB / 373.9 MB, free: 6.258 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002986/0.006168, allocations: 342.9 kB / 374.2 MB, free: 5.922 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.006394, allocations: 118 kB / 374.4 MB, free: 5.809 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.006675, allocations: 203.4 kB / 374.5 MB, free: 5.609 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.006859, allocations: 139.5 kB / 374.7 MB, free: 5.473 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.00688, allocations: 15.98 kB / 374.7 MB, free: 5.457 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003219/0.007202, allocations: 299 kB / 375 MB, free: 5.164 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.759e-05/0.007289, allocations: 107.7 kB / 375.1 MB, free: 5.059 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.528e-05/0.007355, allocations: 71.84 kB / 375.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.007707, allocations: 370.9 kB / 375.5 MB, free: 4.625 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.00771, allocations: 0 / 375.5 MB, free: 4.625 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.007711, allocations: 0 / 375.5 MB, free: 4.625 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.007716, allocations: 0 / 375.5 MB, free: 4.625 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004596/0.008175, allocations: 449 kB / 376 MB, free: 4.156 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.008209, allocations: 15.98 kB / 376 MB, free: 4.141 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.305e-05/0.008252, allocations: 58.72 kB / 376 MB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006206/0.008872, allocations: 156.5 kB / 376.2 MB, free: 3.922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.009105, allocations: 209.2 kB / 376.4 MB, free: 3.695 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.009122, allocations: 16.38 kB / 376.4 MB, free: 3.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.009144, allocations: 16.36 kB / 376.4 MB, free: 3.664 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.009468, allocations: 331 kB / 376.8 MB, free: 3.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.00948, allocations: 3.938 kB / 376.8 MB, free: 3.316 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.009497, allocations: 12 kB / 376.8 MB, free: 3.305 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.009521, allocations: 12 kB / 376.8 MB, free: 3.293 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.009814, allocations: 303.7 kB / 377.1 MB, free: 2.996 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.0111, allocations: 1.205 MB / 378.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.01128, allocations: 113.2 kB / 378.4 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.01133, allocations: 49.75 kB / 378.4 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.01134, allocations: 7.938 kB / 378.4 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.01136, allocations: 30.56 kB / 378.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.01136, allocations: 0 / 378.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002264/0.01159, allocations: 149.9 kB / 378.6 MB, free: 1.316 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.01162, allocations: 77.11 kB / 378.7 MB, free: 1.223 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.01176, allocations: 223.7 kB / 378.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.01177, allocations: 25.7 kB / 378.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.01185, allocations: 168 kB / 379.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.01186, allocations: 39.86 kB / 379.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.01191, allocations: 41.67 kB / 379.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.555e-05/0.01198, allocations: 326.8 kB / 379.5 MB, free: 388 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.417e-05/0.01203, allocations: 39.98 kB / 379.5 MB, free: 348 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.803e-05/0.0121, allocations: 139 kB / 379.7 MB, free: 164 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.01225, allocations: 196.7 kB / 379.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01225, allocations: 4 kB / 379.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002/0.01245, allocations: 229 kB / 380.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.01247, allocations: 8 kB / 380.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01247, allocations: 4 kB / 380.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.01249, allocations: 4 kB / 380.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.219e-05/0.01258, allocations: 43.92 kB / 380.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.01258, allocations: 4 kB / 380.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.01265, allocations: 28.27 kB / 380.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.01266, allocations: 12 kB / 380.2 MB, free: 15.59 MB / 362.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 (23): * Single equations (assignments): 23 * 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 8.605e-05/0.01274, allocations: 153.7 kB / 380.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.01277, allocations: 31.83 kB / 380.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.01291, allocations: 119.1 kB / 380.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01291, allocations: 0 / 380.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.01292, allocations: 0 / 380.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.01292, allocations: 0 / 380.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004251/0.01335, allocations: 0.5399 MB / 381 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01335, allocations: 0 / 381 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.01339, allocations: 24 kB / 381.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.01339, allocations: 4 kB / 381.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.0134, allocations: 8 kB / 381.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.0134, allocations: 7.984 kB / 381.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.01341, allocations: 7.938 kB / 381.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.01358, allocations: 279.7 kB / 381.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.0136, allocations: 27.83 kB / 381.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.01362, allocations: 4 kB / 381.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.898e-05/0.01368, allocations: 4 kB / 381.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.0137, allocations: 19.86 kB / 381.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.01371, allocations: 8 kB / 381.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.894e-05/0.01379, allocations: 157.5 kB / 381.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01379, allocations: 0 / 381.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002165/0.01401, allocations: 51.89 kB / 381.6 MB, free: 14.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 10 * 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.0003275/0.01433, allocations: 0.8105 MB / 382.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.01449, allocations: 119.7 kB / 382.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01449, allocations: 0 / 382.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.316e-05/0.01453, allocations: 45.17 kB / 382.6 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.0148, allocations: 38.67 kB / 382.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.01679, allocations: 2.318 MB / 385 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.093e-05/0.01688, allocations: 139.9 kB / 385.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.57e-05/0.01695, allocations: 37.61 kB / 385.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.045e-05/0.01702, allocations: 60.47 kB / 385.2 MB, free: 10.14 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01702, allocations: 0 / 385.2 MB, free: 10.14 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.03412, allocations: 4.328 MB / 389.5 MB, free: 5.961 MB / 362.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 6.871/6.905, allocations: 15.98 kB / 389.5 MB, free: 5.945 MB / 362.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest_OMSimulator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest_OMSimulator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest_OMSimulator.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest_fmpy.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest_fmpy.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest_fmpy.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.774024941027164]