Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 110 kB / 20.42 MB, free: 1.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001577/0.001577, allocations: 209.3 kB / 23.72 MB, free: 4.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 230.2 MB / 257.1 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2345/0.2345, allocations: 46.91 MB / 360.4 MB, free: 4.609 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 83.86 kB / 0.4956 GB, free: 8.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3478, allocations: 66 MB / 0.56 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002298/0.3501, allocations: 1.206 MB / 0.5612 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006811/0.3508, allocations: 348.2 kB / 0.5615 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.578e-05/0.3508, allocations: 0 / 0.5615 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.3508, allocations: 0 / 0.5615 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.141e-05/0.3508, allocations: 7.938 kB / 0.5615 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.3513, allocations: 55.81 kB / 0.5616 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.326e-05/0.3513, allocations: 4 kB / 0.5616 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.3514, allocations: 3.984 kB / 0.5616 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.127e-05/0.3514, allocations: 7.984 kB / 0.5616 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.3516, allocations: 31.97 kB / 0.5616 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.807e-06/0.3516, allocations: 7.938 kB / 0.5616 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.023e-06/0.3516, allocations: 4 kB / 0.5616 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.3517, allocations: 0 / 0.5616 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.799e-05/0.3517, allocations: 0 / 0.5616 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 5.252e-05/0.3517, allocations: 7.781 kB / 0.5616 GB, free: 3.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3517, allocations: 0 / 0.5616 GB, free: 3.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3517, allocations: 0 / 0.5616 GB, free: 3.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.3517, allocations: 0 / 0.5616 GB, free: 3.207 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003361/0.3521, allocations: 315.5 kB / 0.5619 GB, free: 2.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.3521, allocations: 12.06 kB / 0.562 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.621e-05/0.3522, allocations: 34.75 kB / 0.562 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.568e-05/0.3522, allocations: 0.9375 kB / 0.562 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.3523, allocations: 160.4 kB / 0.5621 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3523, allocations: 384 / 0.5621 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.3523, allocations: 384 / 0.5621 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.229e-05/0.3524, allocations: 34.2 kB / 0.5622 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3524, allocations: 3.938 kB / 0.5622 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.3524, allocations: 0 / 0.5622 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3524, allocations: 0 / 0.5622 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.131e-05/0.3525, allocations: 7.984 kB / 0.5622 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.3528, allocations: 375.5 kB / 0.5625 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.3529, allocations: 177.1 kB / 0.5627 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.353, allocations: 84.08 kB / 0.5628 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.235e-05/0.353, allocations: 75.28 kB / 0.5629 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.878e-05/0.3531, allocations: 117.8 kB / 0.563 GB, free: 1.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3531, allocations: 0 / 0.563 GB, free: 1.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.654e-05/0.3531, allocations: 29.66 kB / 0.563 GB, free: 1.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.3532, allocations: 130.7 kB / 0.5631 GB, free: 1.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.194e-05/0.3533, allocations: 93.8 kB / 0.5632 GB, free: 1.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.3533, allocations: 25.7 kB / 0.5632 GB, free: 1.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.3534, allocations: 88.27 kB / 0.5633 GB, free: 1.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.3534, allocations: 0 / 0.5633 GB, free: 1.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.3534, allocations: 13.72 kB / 0.5633 GB, free: 1.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3535, allocations: 310.8 kB / 0.5636 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-06/0.3535, allocations: 3.938 kB / 0.5636 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-06/0.3536, allocations: 7.984 kB / 0.5637 GB, free: 0.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.386e-05/0.3536, allocations: 8.859 kB / 0.5637 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3536, allocations: 3.938 kB / 0.5637 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.614e-05/0.3537, allocations: 37.77 kB / 0.5637 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3537, allocations: 4 kB / 0.5637 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.3537, allocations: 4 kB / 0.5637 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3537, allocations: 0 / 0.5637 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.114e-05/0.3537, allocations: 0 / 0.5637 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3537, allocations: 0 / 0.5637 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.094e-05/0.3538, allocations: 0 / 0.5637 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.3538, allocations: 3.938 kB / 0.5637 GB, free: 0.8477 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001173/0.3539, allocations: 197.1 kB / 0.5639 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.981e-05/0.354, allocations: 101 kB / 0.564 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.799e-05/0.354, allocations: 107.9 kB / 0.5641 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-05/0.3541, allocations: 184.2 kB / 0.5643 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.622e-05/0.3542, allocations: 180.3 kB / 0.5644 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.555e-05/0.3543, allocations: 188.2 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.3545, allocations: 401.2 kB / 0.565 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.696e-05/0.3546, allocations: 105 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.432e-05/0.3546, allocations: 106 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.598e-05/0.3547, allocations: 180.2 kB / 0.5654 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-05/0.3548, allocations: 184.2 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-05/0.3548, allocations: 184.3 kB / 0.5657 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.847e-05/0.3549, allocations: 176.3 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.3551, allocations: 311.7 kB / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.778e-05/0.3551, allocations: 182.3 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/0.3552, allocations: 176.3 kB / 0.5665 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.615e-05/0.3553, allocations: 109 kB / 0.5666 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.651e-05/0.3554, allocations: 192.2 kB / 0.5668 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/0.3554, allocations: 104.9 kB / 0.5669 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.83e-05/0.3555, allocations: 79.28 kB / 0.567 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3555, allocations: 3.938 kB / 0.567 GB, free: 13.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000211/0.3557, allocations: 4 kB / 0.567 GB, free: 13.24 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.000444/0.3561, allocations: 0.8087 MB / 0.5678 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.33e-05/0.3562, allocations: 8 kB / 0.5678 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3562, allocations: 0 / 0.5678 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.3562, allocations: 0 / 0.5678 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.3566, allocations: 459.7 kB / 0.5682 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.357, allocations: 190.5 kB / 0.5684 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.3573, allocations: 0.6729 MB / 0.5691 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.513e-05/0.3573, allocations: 0 / 0.5691 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.3573, allocations: 7.438 kB / 0.5691 GB, free: 11.01 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3573, allocations: 0 / 0.5691 GB, free: 11.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.3787, allocations: 0.8786 MB / 0.57 GB, free: 10.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.759/8.138, allocations: 17.83 kB / 0.57 GB, free: 10.18 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.091071955859661] Failed to read output from testmodel.py, exit status != 0: 8.210041522979736 8.238098722 7.880528585 Calling exit ...