Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.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.001501/0.001501, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001555/0.001555, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.476/1.476, 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.257/0.257, allocations: 46.94 MB / 361.6 MB, free: 4.188 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.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestExamplesCalculator",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.002358/0.002358, allocations: 75.88 kB / 0.4969 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3252, allocations: 66.07 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001659/0.3269, allocations: 499.9 kB / 0.562 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003451/0.3303, allocations: 2.174 MB / 0.5641 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.735e-05/0.3304, allocations: 0 / 0.5641 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.3304, allocations: 0 / 0.5641 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.017e-05/0.3304, allocations: 3.938 kB / 0.5641 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.3316, allocations: 398.2 kB / 0.5645 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.953e-05/0.3316, allocations: 12 kB / 0.5645 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.3317, allocations: 0 / 0.5645 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.572e-05/0.3317, allocations: 3.984 kB / 0.5645 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02068/0.3524, allocations: 3.378 MB / 0.5678 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.3524, allocations: 0 / 0.5678 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.882e-05/0.3525, allocations: 11.98 kB / 0.5678 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.3525, allocations: 4 kB / 0.5678 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.3525, allocations: 0 / 0.5678 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.3527, allocations: 11.98 kB / 0.5678 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3527, allocations: 0 / 0.5678 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3527, allocations: 0 / 0.5678 GB, free: 14.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.3527, allocations: 0 / 0.5678 GB, free: 14.46 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003643/0.353, allocations: 246.3 kB / 0.568 GB, free: 14.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3531, allocations: 8.031 kB / 0.568 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.564e-05/0.3532, allocations: 114 kB / 0.5681 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.3534, allocations: 88.16 kB / 0.5682 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.3536, allocations: 181.8 kB / 0.5684 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.19e-05/0.3536, allocations: 150.9 kB / 0.5686 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-05/0.3537, allocations: 150.9 kB / 0.5687 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.749e-05/0.3538, allocations: 113 kB / 0.5688 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/0.3538, allocations: 79.28 kB / 0.5689 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/0.3539, allocations: 150.6 kB / 0.569 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-05/0.354, allocations: 154.6 kB / 0.5692 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.231e-05/0.3541, allocations: 150.6 kB / 0.5693 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.3544, allocations: 413 kB / 0.5697 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.3545, allocations: 185 kB / 0.5699 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.653e-05/0.3546, allocations: 80.14 kB / 0.57 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.3546, allocations: 75.28 kB / 0.57 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.832e-05/0.3547, allocations: 109.8 kB / 0.5701 GB, free: 11.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3547, allocations: 4 kB / 0.5701 GB, free: 11.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.826e-05/0.3548, allocations: 29.7 kB / 0.5702 GB, free: 11.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.3549, allocations: 178.1 kB / 0.5703 GB, free: 11.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.355, allocations: 93.86 kB / 0.5704 GB, free: 11.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.355, allocations: 25.7 kB / 0.5705 GB, free: 11.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.3551, allocations: 88.08 kB / 0.5705 GB, free: 11.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.3551, allocations: 0 / 0.5705 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.3551, allocations: 13.7 kB / 0.5705 GB, free: 11.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3553, allocations: 315 kB / 0.5708 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.821e-06/0.3553, allocations: 0 / 0.5708 GB, free: 11.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.864e-05/0.3553, allocations: 13.72 kB / 0.5709 GB, free: 11.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.764e-05/0.3554, allocations: 79.28 kB / 0.5709 GB, free: 11.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.13e-05/0.3554, allocations: 75.28 kB / 0.571 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.475e-05/0.3555, allocations: 33.64 kB / 0.571 GB, free: 10.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.86e-05/0.3555, allocations: 79.28 kB / 0.5711 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-05/0.3555, allocations: 91.25 kB / 0.5712 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.28e-05/0.3556, allocations: 154.6 kB / 0.5714 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.272e-05/0.3557, allocations: 79.27 kB / 0.5714 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.752e-05/0.3558, allocations: 158.5 kB / 0.5716 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.3559, allocations: 79.28 kB / 0.5717 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/0.3559, allocations: 79.22 kB / 0.5717 GB, free: 10.2 MB / 414.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 (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 prepare postOptimizeDAE: time 0.0001669/0.3561, allocations: 265.3 kB / 0.572 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.621e-05/0.3561, allocations: 112.9 kB / 0.5721 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.505e-05/0.3562, allocations: 115.7 kB / 0.5722 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-05/0.3563, allocations: 176.3 kB / 0.5724 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.012e-05/0.3564, allocations: 184.2 kB / 0.5725 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.582e-05/0.3565, allocations: 184.2 kB / 0.5727 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.3568, allocations: 372.3 kB / 0.5731 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.859e-05/0.3569, allocations: 108.9 kB / 0.5732 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.231e-05/0.3569, allocations: 104.9 kB / 0.5733 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-05/0.357, allocations: 176.3 kB / 0.5734 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.3571, allocations: 184.2 kB / 0.5736 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000101/0.3572, allocations: 188.2 kB / 0.5738 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001088/0.3573, allocations: 184.2 kB / 0.574 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.3575, allocations: 296.2 kB / 0.5743 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.095e-05/0.3576, allocations: 116.8 kB / 0.5744 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.565e-05/0.3577, allocations: 188.3 kB / 0.5746 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.3578, allocations: 104.9 kB / 0.5747 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.3579, allocations: 176.3 kB / 0.5748 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.358, allocations: 105 kB / 0.5749 GB, free: 6.734 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.974e-05/0.358, allocations: 75.28 kB / 0.575 GB, free: 6.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.358, allocations: 3.938 kB / 0.575 GB, free: 6.656 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003185/0.3583, allocations: 8.094 kB / 0.575 GB, free: 6.648 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.000506/0.3588, allocations: 0.797 MB / 0.5758 GB, free: 5.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.208e-05/0.3589, allocations: 4 kB / 0.5758 GB, free: 5.816 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3589, allocations: 4 kB / 0.5758 GB, free: 5.812 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.907e-06/0.3589, allocations: 7.938 kB / 0.5758 GB, free: 5.805 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.3594, allocations: 451.7 kB / 0.5762 GB, free: 5.359 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.3598, allocations: 182 kB / 0.5764 GB, free: 5.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.3601, allocations: 0.669 MB / 0.5771 GB, free: 4.445 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.299e-05/0.3601, allocations: 0 / 0.5771 GB, free: 4.445 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.594e-05/0.3602, allocations: 7.438 kB / 0.5771 GB, free: 4.438 MB / 414.1 MB Notification: Performance of SimCode: time 9.71e-07/0.3602, allocations: 8 kB / 0.5771 GB, free: 4.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.3844, allocations: 1.013 MB / 0.5781 GB, free: 3.484 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.362, allocations: 4.062 kB / 0.5781 GB, free: 3.48 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.311470212880522] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.434706056956202 8.462607232 8.104939088 Calling exit ...