Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestSupplyValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 106.5 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 207.6 MB / 229.8 MB, free: 11.43 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008913/0.008913, allocations: 1.974 MB / 283.6 MB, free: 5.082 MB / 222.1 MB " [Timeout remaining time 180] Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(MEV.Test.TestSupplyValve,fileNamePrefix="MEV_MEV_Test_TestSupplyValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestSupplyValve,fileNamePrefix="MEV_MEV_Test_TestSupplyValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 70.36 kB / 396.5 MB, free: 51.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07751/0.07962, allocations: 49.66 MB / 446.2 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002609/0.08223, allocations: 1.967 MB / 448.2 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008118/0.08304, allocations: 0.5734 MB / 448.7 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.69e-05/0.08311, allocations: 4 kB / 448.7 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.986e-05/0.08316, allocations: 19.78 kB / 448.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.08328, allocations: 43.58 kB / 448.8 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.08349, allocations: 43.88 kB / 448.8 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.08365, allocations: 139.3 kB / 449 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.08376, allocations: 24.98 kB / 449 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.163e-05/0.08383, allocations: 43.84 kB / 449 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.686e-05/0.08391, allocations: 63.64 kB / 449.1 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.08393, allocations: 8 kB / 449.1 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.696e-05/0.08399, allocations: 20 kB / 449.1 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.08401, allocations: 19.92 kB / 449.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.93e-05/0.08406, allocations: 59.67 kB / 449.2 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.08422, allocations: 107.5 kB / 449.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.08423, allocations: 0 / 449.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.08423, allocations: 4 kB / 449.3 MB, free: 4.648 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.08424, allocations: 0 / 449.3 MB, free: 4.648 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005351/0.08477, allocations: 426.8 kB / 449.7 MB, free: 4.184 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.08481, allocations: 15.89 kB / 449.8 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.677e-05/0.08485, allocations: 34.75 kB / 449.8 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.08489, allocations: 20.83 kB / 449.8 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.08505, allocations: 208 kB / 450 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.08507, allocations: 4.375 kB / 450 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.08508, allocations: 12.38 kB / 450 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.08525, allocations: 89.78 kB / 450.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.08526, allocations: 0 / 450.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.08527, allocations: 7.938 kB / 450.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.08528, allocations: 0 / 450.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.0854, allocations: 55.91 kB / 450.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.08587, allocations: 380.5 kB / 450.6 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.0863, allocations: 74.47 kB / 450.6 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.481e-05/0.08635, allocations: 28.94 kB / 450.7 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.08638, allocations: 0 / 450.7 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.0864, allocations: 30.56 kB / 450.7 MB, free: 3.117 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.0864, allocations: 0 / 450.7 MB, free: 3.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002505/0.08665, allocations: 97.52 kB / 450.8 MB, free: 3.016 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.08668, allocations: 55.34 kB / 450.8 MB, free: 2.949 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.08682, allocations: 182.7 kB / 451 MB, free: 2.754 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.08683, allocations: 25.7 kB / 451 MB, free: 2.723 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.08688, allocations: 120 kB / 451.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.826e-06/0.08689, allocations: 7.938 kB / 451.2 MB, free: 2.594 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.08693, allocations: 21.67 kB / 451.2 MB, free: 2.566 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.09e-05/0.08698, allocations: 326.8 kB / 451.5 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.726e-05/0.08704, allocations: 28.84 kB / 451.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.172e-05/0.08708, allocations: 12 kB / 451.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.111e-05/0.08717, allocations: 52.97 kB / 451.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.08717, allocations: 0 / 451.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001313/0.0873, allocations: 85.62 kB / 451.7 MB, free: 2.051 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.08731, allocations: 11.88 kB / 451.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.08732, allocations: 4 kB / 451.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.08733, allocations: 0 / 451.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/0.0874, allocations: 15.98 kB / 451.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.08741, allocations: 3.984 kB / 451.7 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.085e-05/0.08747, allocations: 11.89 kB / 451.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.08748, allocations: 0 / 451.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.147e-05/0.08755, allocations: 104.1 kB / 451.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.45e-05/0.08758, allocations: 15.98 kB / 451.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.85e-05/0.08765, allocations: 40.84 kB / 451.9 MB, free: 1.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.41e-07/0.08765, allocations: 4 kB / 451.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001121/0.08776, allocations: 85.58 kB / 452 MB, free: 1.746 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.56e-06/0.08777, allocations: 7.906 kB / 452 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-06/0.08777, allocations: 3.938 kB / 452 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-06/0.08777, allocations: 3.938 kB / 452 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.03e-05/0.08782, allocations: 11.98 kB / 452 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-06/0.08782, allocations: 4 kB / 452 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.08787, allocations: 256 / 452 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.08787, allocations: 4 kB / 452 MB, free: 1.711 MB / 318.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 (6): * Single equations (assignments): 6 * 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 4.91e-05/0.08792, allocations: 180.3 kB / 452.2 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.08795, allocations: 23.78 kB / 452.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.0881, allocations: 86.72 kB / 452.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.0881, allocations: 48 / 452.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.08811, allocations: 3.984 kB / 452.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.08811, allocations: 0 / 452.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.08839, allocations: 359.3 kB / 452.6 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.0884, allocations: 4 kB / 452.6 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.08844, allocations: 7.984 kB / 452.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.08844, allocations: 4 kB / 452.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.08845, allocations: 0 / 452.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.08845, allocations: 0 / 452.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.08845, allocations: 0 / 452.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.08859, allocations: 184.3 kB / 452.8 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.08863, allocations: 97 kB / 452.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.08865, allocations: 0 / 452.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.08873, allocations: 4 kB / 452.9 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.08876, allocations: 3.938 kB / 452.9 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.08877, allocations: 7.984 kB / 452.9 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.771e-05/0.08884, allocations: 140 kB / 453.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.08884, allocations: 0 / 453.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.08913, allocations: 35.94 kB / 453.1 MB, free: 492 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0004257/0.08956, allocations: 0.7054 MB / 453.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.08977, allocations: 67.89 kB / 453.9 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.08978, allocations: 4 kB / 453.9 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.695e-05/0.08983, allocations: 23.92 kB / 453.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.09019, allocations: 8 kB / 453.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.09223, allocations: 1.672 MB / 455.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.09259, allocations: 0.7041 MB / 456.3 MB, free: 13.15 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.12e-05/0.09264, allocations: 4.438 kB / 456.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.0927, allocations: 31.42 kB / 456.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.0927, allocations: 0 / 456.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.1174, allocations: 2.493 MB / 458.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.134/8.252, allocations: 19.86 kB / 458.9 MB, free: 10.55 MB / 334.1 MB " [Timeout remaining time 652] (rm -f MEV_MEV.Test.TestSupplyValve.pipe ; mkfifo MEV_MEV.Test.TestSupplyValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestSupplyValve.pipe >> ../files/MEV_MEV.Test.TestSupplyValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestSupplyValve_fmu --startTime=0 --stopTime=2 --stepSize=0.004 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestSupplyValve.fmu > MEV_MEV.Test.TestSupplyValve.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.702202373184264] Failed to read output from testmodel.py, exit status != 0: 8.319822477642447 8.341400186 8.253192864 Calling exit ...