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.001391/0.001391, allocations: 116 kB / 20.43 MB, free: 1.457 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.001452/0.001452, allocations: 209.3 kB / 23.74 MB, free: 4.672 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.1904/0.1904, allocations: 38.53 MB / 352.5 MB, free: 12.53 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.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: 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.002024/0.002024, allocations: 63.91 kB / 492.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3182, allocations: 62.47 MB / 0.542 GB, free: 308 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005011/0.3232, allocations: 3.581 MB / 0.5455 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.3255, allocations: 1.573 MB / 0.547 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.3256, allocations: 16.53 kB / 0.547 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008351/0.3264, allocations: 259.5 kB / 0.5473 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006122/0.327, allocations: 283.1 kB / 0.5476 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.3274, allocations: 131.2 kB / 0.5477 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004614/0.3278, allocations: 335.9 kB / 0.548 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002786/0.3281, allocations: 119.5 kB / 0.5481 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003067/0.3284, allocations: 163.6 kB / 0.5483 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.3287, allocations: 164.2 kB / 0.5484 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.3287, allocations: 12.97 kB / 0.5484 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005448/0.3293, allocations: 346.2 kB / 0.5488 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.3294, allocations: 99.17 kB / 0.5489 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.3295, allocations: 109 kB / 0.549 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004831/0.33, allocations: 352.3 kB / 0.5493 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.33, allocations: 0 / 0.5493 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.33, allocations: 1.125 kB / 0.5493 GB, free: 10.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.33, allocations: 4 kB / 0.5493 GB, free: 10.74 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006638/0.3307, allocations: 457.9 kB / 0.5497 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3307, allocations: 12.89 kB / 0.5498 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.077e-05/0.3308, allocations: 54.27 kB / 0.5498 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009029/0.3317, allocations: 104.3 kB / 0.5499 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.332, allocations: 218 kB / 0.5501 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.3321, allocations: 11.66 kB / 0.5501 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.3321, allocations: 22.91 kB / 0.5502 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005361/0.3326, allocations: 327.5 kB / 0.5505 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.3327, allocations: 5.078 kB / 0.5505 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.3327, allocations: 9.969 kB / 0.5505 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.572e-05/0.3327, allocations: 12.41 kB / 0.5505 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004756/0.3332, allocations: 303.1 kB / 0.5508 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.335, allocations: 1.243 MB / 0.552 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.3353, allocations: 125.7 kB / 0.5521 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.048e-05/0.3354, allocations: 44.77 kB / 0.5522 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.3355, allocations: 2 kB / 0.5522 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.3355, allocations: 35.59 kB / 0.5522 GB, free: 8.375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.863e-06/0.3355, allocations: 1.219 kB / 0.5522 GB, free: 8.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003464/0.3358, allocations: 132.5 kB / 0.5523 GB, free: 8.297 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.3359, allocations: 87.83 kB / 0.5524 GB, free: 8.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.3362, allocations: 215.9 kB / 0.5526 GB, free: 8.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.3362, allocations: 26.73 kB / 0.5526 GB, free: 8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.3363, allocations: 167.9 kB / 0.5528 GB, free: 7.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.3363, allocations: 40.83 kB / 0.5528 GB, free: 7.809 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-05/0.3364, allocations: 49.16 kB / 0.5529 GB, free: 7.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3366, allocations: 323 kB / 0.5532 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.334e-05/0.3367, allocations: 45.38 kB / 0.5532 GB, free: 7.426 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.3368, allocations: 126.7 kB / 0.5534 GB, free: 7.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.3371, allocations: 200 kB / 0.5535 GB, free: 7.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3371, allocations: 1.344 kB / 0.5535 GB, free: 7.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00035/0.3374, allocations: 209.7 kB / 0.5537 GB, free: 6.977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.3375, allocations: 7.031 kB / 0.5538 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.3375, allocations: 3.312 kB / 0.5538 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.3375, allocations: 5.531 kB / 0.5538 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.3377, allocations: 48.06 kB / 0.5538 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.3377, allocations: 4.906 kB / 0.5538 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.3378, allocations: 27.08 kB / 0.5538 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.3378, allocations: 12.69 kB / 0.5538 GB, free: 6.941 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 (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 0.0001672/0.338, allocations: 157.3 kB / 0.554 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.3381, allocations: 23.14 kB / 0.554 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.3383, allocations: 118.8 kB / 0.5541 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3383, allocations: 1.125 kB / 0.5541 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3383, allocations: 1.094 kB / 0.5541 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3383, allocations: 3.984 kB / 0.5541 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008273/0.3391, allocations: 0.5371 MB / 0.5547 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.3391, allocations: 14.11 kB / 0.5547 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-05/0.3392, allocations: 23.45 kB / 0.5547 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.3392, allocations: 7.156 kB / 0.5547 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.3392, allocations: 4.188 kB / 0.5547 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.3393, allocations: 6.938 kB / 0.5547 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3393, allocations: 2.844 kB / 0.5547 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.3396, allocations: 290.9 kB / 0.555 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.3396, allocations: 23.78 kB / 0.555 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.3396, allocations: 12.41 kB / 0.555 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.3398, allocations: 11.36 kB / 0.555 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.3398, allocations: 12.52 kB / 0.5551 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.3398, allocations: 5.562 kB / 0.5551 GB, free: 5.871 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.3399, allocations: 148.7 kB / 0.5552 GB, free: 5.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3399, allocations: 0 / 0.5552 GB, free: 5.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003569/0.3403, allocations: 53.08 kB / 0.5553 GB, free: 5.754 MB / 398.1 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.0005988/0.3409, allocations: 0.8187 MB / 0.5561 GB, free: 4.945 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.3411, allocations: 115.1 kB / 0.5562 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3411, allocations: 0 / 0.5562 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.347e-05/0.3412, allocations: 44.36 kB / 0.5562 GB, free: 4.875 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.3416, allocations: 37.69 kB / 0.5562 GB, free: 4.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.3444, allocations: 2.319 MB / 0.5585 GB, free: 2.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.3448, allocations: 0.7593 MB / 0.5592 GB, free: 1.895 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.3449, allocations: 37.61 kB / 0.5593 GB, free: 1.859 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.345, allocations: 55.42 kB / 0.5593 GB, free: 1.805 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.345, allocations: 0 / 0.5593 GB, free: 1.805 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.374, allocations: 3.607 MB / 0.5629 GB, free: 14.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.47, allocations: 3.859 kB / 0.5629 GB, free: 14.3 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest_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.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.321940276997339] Failed to read output from testmodel.py, exit status != 0: 11.574594300000172 11.601835726 11.266774246 Calling exit ...