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.001889/0.001889, allocations: 114.5 kB / 17.16 MB, free: 5.895 MB / 14.72 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.002162/0.002162, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.403/1.403, allocations: 207.6 MB / 230.5 MB, free: 4.059 MB / 174.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.01551/0.01551, allocations: 1.962 MB / 284.3 MB, free: 14.37 MB / 238.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.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestSupplyValve,fileNamePrefix="MEV_MEV_Test_TestSupplyValve",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 72.47 kB / 397.3 MB, free: 8.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2448, allocations: 49.67 MB / 447 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.00254/0.2474, allocations: 1.957 MB / 448.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007707/0.2481, allocations: 0.5734 MB / 449.5 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.663e-05/0.2482, allocations: 6.625 kB / 449.5 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.582e-05/0.2483, allocations: 22.31 kB / 449.5 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.2484, allocations: 43.7 kB / 449.6 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.2486, allocations: 39.75 kB / 449.6 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.2487, allocations: 138.3 kB / 449.7 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.2488, allocations: 24.23 kB / 449.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.897e-05/0.2489, allocations: 43.89 kB / 449.8 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.641e-05/0.249, allocations: 59.98 kB / 449.9 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.853e-05/0.249, allocations: 7.25 kB / 449.9 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.835e-05/0.2491, allocations: 22.77 kB / 449.9 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.2491, allocations: 21.45 kB / 449.9 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.2491, allocations: 56.08 kB / 450 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.2493, allocations: 112.8 kB / 450.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2493, allocations: 0 / 450.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2493, allocations: 1.062 kB / 450.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.2493, allocations: 0 / 450.1 MB, free: 6.355 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.0004689/0.2498, allocations: 423.9 kB / 450.5 MB, free: 5.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2498, allocations: 13.27 kB / 450.5 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.756e-05/0.2498, allocations: 6.844 kB / 450.5 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.531e-05/0.2499, allocations: 44.7 kB / 450.6 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.2499, allocations: 15.25 kB / 450.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.25, allocations: 214.4 kB / 450.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.25, allocations: 2.281 kB / 450.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.2501, allocations: 9.469 kB / 450.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.2502, allocations: 96.28 kB / 450.9 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2502, allocations: 4.641 kB / 450.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.2503, allocations: 5.094 kB / 450.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2503, allocations: 1.375 kB / 450.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.2504, allocations: 56.08 kB / 451 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.2509, allocations: 381.9 kB / 451.3 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.2513, allocations: 66.38 kB / 451.4 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.2514, allocations: 23.69 kB / 451.4 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.2514, allocations: 1.375 kB / 451.4 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.2514, allocations: 40.86 kB / 451.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2514, allocations: 0 / 451.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002475/0.2516, allocations: 87.8 kB / 451.5 MB, free: 5.086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.2517, allocations: 51.41 kB / 451.6 MB, free: 5.023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.2518, allocations: 191.8 kB / 451.8 MB, free: 4.879 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.2518, allocations: 25.7 kB / 451.8 MB, free: 4.848 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.2519, allocations: 113.6 kB / 451.9 MB, free: 4.742 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/0.2519, allocations: 19.66 kB / 451.9 MB, free: 4.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.2519, allocations: 24.05 kB / 452 MB, free: 4.703 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.395e-05/0.2519, allocations: 320.5 kB / 452.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.014e-05/0.252, allocations: 32.67 kB / 452.3 MB, free: 4.367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-05/0.2521, allocations: 18.28 kB / 452.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.2522, allocations: 48.48 kB / 452.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2522, allocations: 0.625 kB / 452.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001516/0.2523, allocations: 79.84 kB / 452.4 MB, free: 4.289 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.2524, allocations: 10 kB / 452.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2524, allocations: 0 / 452.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2524, allocations: 3.938 kB / 452.5 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.327e-05/0.2524, allocations: 16.02 kB / 452.5 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.2524, allocations: 0.5625 kB / 452.5 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.468e-05/0.2525, allocations: 13.97 kB / 452.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.2525, allocations: 1.906 kB / 452.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.977e-05/0.2526, allocations: 103.6 kB / 452.6 MB, free: 4.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.45e-05/0.2526, allocations: 20.22 kB / 452.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.963e-05/0.2527, allocations: 42.77 kB / 452.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.02e-07/0.2527, allocations: 0.5938 kB / 452.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001441/0.2529, allocations: 82.42 kB / 452.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.2529, allocations: 9.594 kB / 452.7 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-06/0.2529, allocations: 7.875 kB / 452.7 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-06/0.2529, allocations: 1.062 kB / 452.8 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.253, allocations: 13.06 kB / 452.8 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.253, allocations: 0.5312 kB / 452.8 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.253, allocations: 12.11 kB / 452.8 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.253, allocations: 1.656 kB / 452.8 MB, free: 4.074 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.235e-05/0.2531, allocations: 177.5 kB / 453 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.2531, allocations: 19.89 kB / 453 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.2533, allocations: 85.03 kB / 453.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.2533, allocations: 1.703 kB / 453.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.2533, allocations: 0.6562 kB / 453.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2533, allocations: 0 / 453.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.2536, allocations: 347 kB / 453.4 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2536, allocations: 5.547 kB / 453.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.867e-05/0.2537, allocations: 8.219 kB / 453.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2537, allocations: 5.719 kB / 453.4 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.2537, allocations: 1.125 kB / 453.4 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.2537, allocations: 1.797 kB / 453.4 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2537, allocations: 0 / 453.4 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.2538, allocations: 183.7 kB / 453.6 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.2539, allocations: 93.19 kB / 453.7 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.2539, allocations: 9.281 kB / 453.7 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-05/0.254, allocations: 2.859 kB / 453.7 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.254, allocations: 8.016 kB / 453.7 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.254, allocations: 1.344 kB / 453.7 MB, free: 3.203 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.021e-05/0.2541, allocations: 138.4 kB / 453.8 MB, free: 3.109 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2541, allocations: 0 / 453.8 MB, free: 3.109 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00031/0.2544, allocations: 42.81 kB / 453.9 MB, free: 3.102 MB / 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.0002868/0.2547, allocations: 0.7061 MB / 454.6 MB, free: 2.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.2549, allocations: 65.3 kB / 454.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2549, allocations: 0 / 454.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.87e-05/0.2549, allocations: 25.73 kB / 454.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.2552, allocations: 15.02 kB / 454.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.2566, allocations: 1.67 MB / 456.4 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.2567, allocations: 0.7056 MB / 457.1 MB, free: 304 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.14e-05/0.2568, allocations: 12.8 kB / 457.1 MB, free: 300 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.2568, allocations: 30.5 kB / 457.1 MB, free: 276 kB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2568, allocations: 0 / 457.1 MB, free: 276 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.2742, allocations: 2.513 MB / 459.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.225, allocations: 6.484 kB / 459.6 MB, free: 15.53 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 os._exit(0), Time elapsed: 10.59077220002655] Failed to read output from testmodel.py, exit status != 0: 8.345044019981287 8.359441695 8.107386712 Calling exit ...