Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001335/0.001335, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001444/0.001444, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.41/1.41, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2245/0.2245, allocations: 46.93 MB / 361.6 MB, free: 4.207 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 83.86 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3239, allocations: 66.07 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002336/0.3262, allocations: 1.217 MB / 0.5627 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000784/0.327, allocations: 431.3 kB / 0.5631 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.243e-05/0.327, allocations: 0 / 0.5631 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.285e-05/0.327, allocations: 4 kB / 0.5631 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.905e-05/0.327, allocations: 3.938 kB / 0.5631 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.3275, allocations: 71.73 kB / 0.5632 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.585e-05/0.3276, allocations: 7.984 kB / 0.5632 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.3276, allocations: 0 / 0.5632 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.357e-05/0.3276, allocations: 0 / 0.5632 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.3278, allocations: 43.7 kB / 0.5632 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.211e-06/0.3278, allocations: 0 / 0.5632 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.203e-05/0.3279, allocations: 7.984 kB / 0.5632 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.943e-06/0.3279, allocations: 4 kB / 0.5632 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.53e-05/0.3279, allocations: 4 kB / 0.5632 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.602e-05/0.328, allocations: 15.98 kB / 0.5633 GB, free: 2.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.328, allocations: 0 / 0.5633 GB, free: 2.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.328, allocations: 0 / 0.5633 GB, free: 2.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.328, allocations: 0 / 0.5633 GB, free: 2.512 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.0002762/0.3283, allocations: 230.5 kB / 0.5635 GB, free: 2.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3283, allocations: 15.97 kB / 0.5635 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/0.3283, allocations: 34.73 kB / 0.5635 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.3284, allocations: 0.9375 kB / 0.5635 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.3285, allocations: 114.5 kB / 0.5636 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.3286, allocations: 384 / 0.5636 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-06/0.3286, allocations: 384 / 0.5636 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.119e-05/0.3286, allocations: 30.27 kB / 0.5637 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.3287, allocations: 3.938 kB / 0.5637 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-06/0.3287, allocations: 0 / 0.5637 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3287, allocations: 3.984 kB / 0.5637 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.45e-05/0.3287, allocations: 0 / 0.5637 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.329, allocations: 356.7 kB / 0.564 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.893e-05/0.3291, allocations: 169.1 kB / 0.5642 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.052e-05/0.3291, allocations: 88.11 kB / 0.5643 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.3292, allocations: 75.28 kB / 0.5643 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.651e-05/0.3292, allocations: 117.8 kB / 0.5644 GB, free: 1.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 4.749e-06/0.3292, allocations: 3.984 kB / 0.5644 GB, free: 1.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.821e-05/0.3293, allocations: 33.59 kB / 0.5645 GB, free: 1.117 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.3294, allocations: 126.7 kB / 0.5646 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.3294, allocations: 93.86 kB / 0.5647 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.3294, allocations: 25.7 kB / 0.5647 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.3295, allocations: 80.14 kB / 0.5648 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.3295, allocations: 128 / 0.5648 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.3295, allocations: 17.72 kB / 0.5648 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3296, allocations: 318.8 kB / 0.5651 GB, free: 432 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.274e-06/0.3297, allocations: 0 / 0.5651 GB, free: 432 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.988e-06/0.3297, allocations: 0 / 0.5651 GB, free: 432 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.112e-05/0.3297, allocations: 16.83 kB / 0.5651 GB, free: 412 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3297, allocations: 3.938 kB / 0.5651 GB, free: 408 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.545e-05/0.3298, allocations: 33.64 kB / 0.5652 GB, free: 368 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3298, allocations: 8.094 kB / 0.5652 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3298, allocations: 0 / 0.5652 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3298, allocations: 0 / 0.5652 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.427e-05/0.3298, allocations: 4 kB / 0.5652 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.3298, allocations: 0 / 0.5652 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.659e-06/0.3298, allocations: 0 / 0.5652 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.3298, allocations: 0 / 0.5652 GB, free: 356 kB / 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.0001034/0.33, allocations: 197 kB / 0.5654 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.33, allocations: 105 kB / 0.5655 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.559e-05/0.3301, allocations: 111.7 kB / 0.5656 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-05/0.3302, allocations: 176.3 kB / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-05/0.3302, allocations: 184.2 kB / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.632e-05/0.3303, allocations: 180.2 kB / 0.5661 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.3305, allocations: 377.2 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.276e-05/0.3306, allocations: 109 kB / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.3306, allocations: 101 kB / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.176e-05/0.3307, allocations: 184.2 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.318e-05/0.3308, allocations: 180.3 kB / 0.567 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.308e-05/0.3309, allocations: 188.2 kB / 0.5672 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.48e-05/0.3309, allocations: 184.2 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.3311, allocations: 307.9 kB / 0.5676 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.3311, allocations: 109 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.423e-05/0.3312, allocations: 184.2 kB / 0.5679 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.3313, allocations: 105 kB / 0.568 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.3314, allocations: 184.2 kB / 0.5682 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/0.3314, allocations: 104.9 kB / 0.5683 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.792e-05/0.3314, allocations: 75.28 kB / 0.5684 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3315, allocations: 0 / 0.5684 GB, free: 12.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.3317, allocations: 4 kB / 0.5684 GB, free: 12.87 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.0004195/0.3321, allocations: 0.8049 MB / 0.5692 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.333e-05/0.3322, allocations: 7.938 kB / 0.5692 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3322, allocations: 4 kB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.3322, allocations: 0 / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.3325, allocations: 455.8 kB / 0.5696 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.3329, allocations: 178.6 kB / 0.5698 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.3332, allocations: 0.6768 MB / 0.5704 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.514e-05/0.3332, allocations: 3.938 kB / 0.5704 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/0.3332, allocations: 7.438 kB / 0.5704 GB, free: 10.64 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3332, allocations: 0 / 0.5704 GB, free: 10.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/0.3554, allocations: 0.891 MB / 0.5713 GB, free: 9.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.177, allocations: 4 kB / 0.5713 GB, free: 9.816 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.081051843240857] Failed to read output from testmodel.py, exit status != 0: ['time', 'p'] 8.24803477479145 8.275419691 7.941533775 Calling exit ...