Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.001302/0.001302, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001421/0.001421, allocations: 209.5 kB / 23.73 MB, free: 4.387 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.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1861/0.1861, allocations: 38.56 MB / 352.5 MB, free: 12.28 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.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",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.002089/0.002089, allocations: 67.89 kB / 492.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.395, allocations: 62.46 MB / 0.5419 GB, free: 228 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005335/0.4003, allocations: 3.431 MB / 0.5453 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.4025, allocations: 1.373 MB / 0.5466 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.4026, allocations: 9.469 kB / 0.5466 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008275/0.4035, allocations: 251.9 kB / 0.5469 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007653/0.4042, allocations: 283.9 kB / 0.5471 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.4046, allocations: 105.4 kB / 0.5472 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004556/0.405, allocations: 346.6 kB / 0.5476 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.4053, allocations: 114.2 kB / 0.5477 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003254/0.4056, allocations: 165.3 kB / 0.5478 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.4059, allocations: 157.8 kB / 0.548 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.4059, allocations: 14 kB / 0.548 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004565/0.4064, allocations: 269 kB / 0.5483 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.4065, allocations: 98.61 kB / 0.5484 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.4066, allocations: 85.39 kB / 0.5484 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000544/0.4072, allocations: 346.5 kB / 0.5488 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4072, allocations: 0 / 0.5488 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4072, allocations: 1.219 kB / 0.5488 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.4072, allocations: 4 kB / 0.5488 GB, free: 11.12 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.0007578/0.4079, allocations: 454.3 kB / 0.5492 GB, free: 10.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.408, allocations: 13.8 kB / 0.5492 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.703e-05/0.4081, allocations: 54.48 kB / 0.5493 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008488/0.4089, allocations: 91.72 kB / 0.5494 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.4093, allocations: 206.9 kB / 0.5496 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.4093, allocations: 14.95 kB / 0.5496 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.922e-05/0.4094, allocations: 24.47 kB / 0.5496 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/0.4099, allocations: 313.4 kB / 0.5499 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.4099, allocations: 1.156 kB / 0.5499 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.4099, allocations: 14.5 kB / 0.5499 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/0.41, allocations: 16.16 kB / 0.5499 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004431/0.4104, allocations: 285.7 kB / 0.5502 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.4122, allocations: 1.207 MB / 0.5514 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.4126, allocations: 153.4 kB / 0.5515 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.438e-05/0.4127, allocations: 56.05 kB / 0.5516 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.4127, allocations: 1.25 kB / 0.5516 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.4128, allocations: 33.81 kB / 0.5516 GB, free: 8.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.4128, allocations: 0 / 0.5516 GB, free: 8.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006748/0.4135, allocations: 294.9 kB / 0.5519 GB, free: 8.641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/0.4135, allocations: 87.39 kB / 0.552 GB, free: 8.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.4137, allocations: 199.4 kB / 0.5522 GB, free: 8.387 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.4138, allocations: 30.64 kB / 0.5522 GB, free: 8.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.4139, allocations: 160.8 kB / 0.5523 GB, free: 8.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.414, allocations: 54.08 kB / 0.5524 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.084e-05/0.414, allocations: 45.67 kB / 0.5524 GB, free: 8.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4142, allocations: 332.1 kB / 0.5528 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.673e-05/0.4143, allocations: 45.16 kB / 0.5528 GB, free: 7.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.4145, allocations: 144 kB / 0.5529 GB, free: 7.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.4148, allocations: 216 kB / 0.5531 GB, free: 7.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4148, allocations: 5.125 kB / 0.5531 GB, free: 7.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003848/0.4151, allocations: 221.7 kB / 0.5534 GB, free: 7.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4152, allocations: 10.91 kB / 0.5534 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4152, allocations: 3.406 kB / 0.5534 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.4152, allocations: 5.344 kB / 0.5534 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.4153, allocations: 54.53 kB / 0.5534 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.4154, allocations: 9.781 kB / 0.5534 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.4155, allocations: 4.375 kB / 0.5534 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.4155, allocations: 12.69 kB / 0.5535 GB, free: 7.281 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.0001746/0.4157, allocations: 162.1 kB / 0.5536 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.4157, allocations: 15.78 kB / 0.5536 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.416, allocations: 154 kB / 0.5538 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.416, allocations: 2.969 kB / 0.5538 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.416, allocations: 0 / 0.5538 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.416, allocations: 7.938 kB / 0.5538 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009361/0.4169, allocations: 0.6117 MB / 0.5544 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.417, allocations: 7.594 kB / 0.5544 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.4171, allocations: 32.98 kB / 0.5544 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.4171, allocations: 4.969 kB / 0.5544 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.4171, allocations: 12.88 kB / 0.5544 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.4171, allocations: 4.625 kB / 0.5544 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4171, allocations: 3.344 kB / 0.5544 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.4175, allocations: 345.7 kB / 0.5548 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.4175, allocations: 28.98 kB / 0.5548 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.4175, allocations: 8.406 kB / 0.5548 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.4177, allocations: 4.688 kB / 0.5548 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.4177, allocations: 20.27 kB / 0.5548 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.4177, allocations: 14.92 kB / 0.5548 GB, free: 6.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.4178, allocations: 145.7 kB / 0.555 GB, free: 5.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4178, allocations: 0 / 0.555 GB, free: 5.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003564/0.4182, allocations: 42.56 kB / 0.555 GB, free: 5.988 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * 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.0006797/0.4189, allocations: 0.8619 MB / 0.5559 GB, free: 5.148 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002595/0.4191, allocations: 144.9 kB / 0.556 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4191, allocations: 0 / 0.556 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.4192, allocations: 66.41 kB / 0.5561 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.4197, allocations: 48.47 kB / 0.5561 GB, free: 5.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.4226, allocations: 2.424 MB / 0.5585 GB, free: 2.426 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.4228, allocations: 151.8 kB / 0.5586 GB, free: 2.254 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.4229, allocations: 49.62 kB / 0.5587 GB, free: 2.207 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.423, allocations: 59.41 kB / 0.5587 GB, free: 2.148 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.423, allocations: 0 / 0.5587 GB, free: 2.148 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/0.4537, allocations: 4.044 MB / 0.5627 GB, free: 14.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.57, allocations: 6.625 kB / 0.5627 GB, free: 14.23 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.345850640907884] Failed to read output from testmodel.py, exit status != 0: 11.677363350987434 11.692154025 11.281842593 Calling exit ...