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.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.0007577/0.0007577, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.001002/0.001002, allocations: 165.9 kB / 22.45 MB, free: 2.102 MB / 18.57 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 0.7894/0.7894, allocations: 158.6 MB / 184.2 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.009533/0.009533, allocations: 1.424 MB / 237.9 MB, free: 13.94 MB / 234.7 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.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(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: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 352.4 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119e-05/1.238e-05, allocations: 6.219 kB / 352.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.001629/0.001642, allocations: 1.897 MB / 354.3 MB, free: 14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005864/0.002228, allocations: 0.5464 MB / 354.9 MB, free: 13.44 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.202e-05/0.00228, allocations: 0 / 354.9 MB, free: 13.44 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.476e-05/0.002325, allocations: 23.78 kB / 354.9 MB, free: 13.42 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.923e-05/0.002424, allocations: 47.62 kB / 355 MB, free: 13.37 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.002633, allocations: 35.84 kB / 355 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.00278, allocations: 147.1 kB / 355.1 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.002905, allocations: 21.3 kB / 355.2 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.435e-05/0.00299, allocations: 79.73 kB / 355.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.324e-05/0.003053, allocations: 35.91 kB / 355.3 MB, free: 13.06 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.00307, allocations: 8 kB / 355.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.815e-05/0.003118, allocations: 16 kB / 355.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.003136, allocations: 19.91 kB / 355.3 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.003167, allocations: 47.86 kB / 355.4 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.003291, allocations: 107.6 kB / 355.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.003294, allocations: 0 / 355.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003295, allocations: 4 kB / 355.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.003299, allocations: 0 / 355.5 MB, free: 12.86 MB / 282.7 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.0003606/0.003659, allocations: 345.7 kB / 355.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.003696, allocations: 19.97 kB / 355.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.398e-05/0.00372, allocations: 34.75 kB / 355.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.003747, allocations: 16.84 kB / 355.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.003859, allocations: 145.6 kB / 356 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.003868, allocations: 8.375 kB / 356 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.003878, allocations: 4.375 kB / 356 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.004005, allocations: 88.88 kB / 356.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.004012, allocations: 192 / 356.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.004022, allocations: 8.125 kB / 356.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.004027, allocations: 7.984 kB / 356.1 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.441e-05/0.004111, allocations: 55.95 kB / 356.2 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.004469, allocations: 343.5 kB / 356.5 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.004734, allocations: 70.53 kB / 356.6 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.004764, allocations: 20.94 kB / 356.6 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.00478, allocations: 3.938 kB / 356.6 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.175e-05/0.004792, allocations: 38.56 kB / 356.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.004793, allocations: 0 / 356.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001698/0.004962, allocations: 89.52 kB / 356.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.004983, allocations: 55.34 kB / 356.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.005069, allocations: 179.6 kB / 357 MB, free: 11.19 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.39e-06/0.005074, allocations: 25.7 kB / 357 MB, free: 11.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.005109, allocations: 116 kB / 357.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.582e-06/0.005116, allocations: 7.953 kB / 357.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.005145, allocations: 29.66 kB / 357.2 MB, free: 11 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.545e-05/0.00517, allocations: 314.8 kB / 357.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.552e-05/0.005206, allocations: 28.84 kB / 357.5 MB, free: 10.65 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.005232, allocations: 23.92 kB / 357.5 MB, free: 10.63 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.982e-05/0.005292, allocations: 48.97 kB / 357.6 MB, free: 10.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005294, allocations: 0 / 357.6 MB, free: 10.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.476e-05/0.005379, allocations: 85.62 kB / 357.6 MB, free: 10.49 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.005393, allocations: 8 kB / 357.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.005397, allocations: 0 / 357.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.00541, allocations: 0 / 357.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.089e-05/0.005451, allocations: 15.92 kB / 357.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.005455, allocations: 3.938 kB / 357.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.292e-05/0.005488, allocations: 15.89 kB / 357.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.005493, allocations: 4 kB / 357.7 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.319e-05/0.005536, allocations: 104.1 kB / 357.8 MB, free: 10.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.989e-05/0.005556, allocations: 16 kB / 357.8 MB, free: 10.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.213e-05/0.005598, allocations: 40.84 kB / 357.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.21e-07/0.005599, allocations: 0 / 357.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 6.436e-05/0.005663, allocations: 77.62 kB / 357.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.276e-06/0.005666, allocations: 8 kB / 357.9 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.01e-07/0.005667, allocations: 0 / 357.9 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-06/0.005668, allocations: 0 / 357.9 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.404e-05/0.005693, allocations: 19.86 kB / 358 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-06/0.005694, allocations: 3.938 kB / 358 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.005718, allocations: 12.25 kB / 358 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-06/0.00572, allocations: 0 / 358 MB, free: 10.15 MB / 282.7 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 3.26e-05/0.005753, allocations: 180.3 kB / 358.1 MB, free: 9.969 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.005768, allocations: 15.91 kB / 358.2 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.73e-05/0.005866, allocations: 82.69 kB / 358.2 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.005867, allocations: 0 / 358.2 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.005871, allocations: 3.938 kB / 358.2 MB, free: 9.863 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.005874, allocations: 0 / 358.2 MB, free: 9.863 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.006052, allocations: 310.5 kB / 358.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.006054, allocations: 4 kB / 358.5 MB, free: 9.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.03e-05/0.006074, allocations: 7.984 kB / 358.6 MB, free: 9.496 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.006075, allocations: 3.938 kB / 358.6 MB, free: 9.492 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.006081, allocations: 7.938 kB / 358.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.006082, allocations: 0 / 358.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.006083, allocations: 3.938 kB / 358.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.38e-05/0.006156, allocations: 176.6 kB / 358.7 MB, free: 9.289 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.006185, allocations: 27.81 kB / 358.8 MB, free: 9.262 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.0062, allocations: 7.984 kB / 358.8 MB, free: 9.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.142e-05/0.006241, allocations: 4.031 kB / 358.8 MB, free: 9.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.006266, allocations: 4 kB / 358.8 MB, free: 9.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.006268, allocations: 0 / 358.8 MB, free: 9.246 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.586e-05/0.006324, allocations: 144 kB / 358.9 MB, free: 9.105 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006324, allocations: 0 / 358.9 MB, free: 9.105 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001968/0.006521, allocations: 36 kB / 359 MB, free: 9.07 MB / 282.7 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.0001787/0.0067, allocations: 0.7053 MB / 359.7 MB, free: 8.336 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.006821, allocations: 71.89 kB / 359.7 MB, free: 8.266 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.006822, allocations: 0 / 359.7 MB, free: 8.266 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.006846, allocations: 15.98 kB / 359.8 MB, free: 8.25 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.007052, allocations: 12 kB / 359.8 MB, free: 8.238 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008948/0.007947, allocations: 1.671 MB / 361.4 MB, free: 6.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.976e-05/0.007986, allocations: 89.31 kB / 361.5 MB, free: 6.371 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.213e-05/0.008019, allocations: 8.484 kB / 361.5 MB, free: 6.363 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.008056, allocations: 28.5 kB / 361.6 MB, free: 6.336 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008057, allocations: 0 / 361.6 MB, free: 6.336 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.0223, allocations: 3.234 MB / 364.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.841/6.863, allocations: 4.156 kB / 364.8 MB, free: 3.062 MB / 282.7 MB " [Timeout remaining time 653] (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: 8.434491228312254] Failed to read output from testmodel.py, exit status != 0: 6.945224148221314 6.958774209 6.952942867 Calling exit ...