Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestPatientValve.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.001596/0.001596, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001849/0.001849, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.468/1.468, allocations: 207.6 MB / 230.5 MB, free: 4.004 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.00921/0.00921, allocations: 1.954 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.TestPatientValve,fileNamePrefix="MEV_MEV_Test_TestPatientValve",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestPatientValve,fileNamePrefix="MEV_MEV_Test_TestPatientValve",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.002076/0.002076, allocations: 71.91 kB / 397.3 MB, free: 8.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2519, allocations: 49.67 MB / 447 MB, free: 8.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002804/0.2547, allocations: 1.959 MB / 448.9 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008417/0.2556, allocations: 0.5775 MB / 449.5 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.2556, allocations: 2.375 kB / 449.5 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.016e-05/0.2557, allocations: 22.31 kB / 449.5 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.2558, allocations: 40.08 kB / 449.6 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.256, allocations: 40.58 kB / 449.6 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.2562, allocations: 136.7 kB / 449.7 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.2563, allocations: 25.48 kB / 449.8 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.406e-05/0.2564, allocations: 55.05 kB / 449.8 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.856e-05/0.2565, allocations: 51.45 kB / 449.9 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.2565, allocations: 12.25 kB / 449.9 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.054e-05/0.2565, allocations: 18.02 kB / 449.9 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.2566, allocations: 22.61 kB / 449.9 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.165e-05/0.2566, allocations: 59.69 kB / 450 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.2568, allocations: 108.4 kB / 450.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2568, allocations: 4 kB / 450.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2568, allocations: 0 / 450.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.2568, allocations: 1.953 kB / 450.1 MB, free: 6.359 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.0004812/0.2573, allocations: 424.5 kB / 450.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2573, allocations: 13.02 kB / 450.5 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.895e-05/0.2573, allocations: 6.344 kB / 450.5 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.525e-05/0.2574, allocations: 48.03 kB / 450.6 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.2574, allocations: 15.75 kB / 450.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.2575, allocations: 204.9 kB / 450.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.2575, allocations: 7.656 kB / 450.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2576, allocations: 5.906 kB / 450.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.2577, allocations: 95.55 kB / 450.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2578, allocations: 13.27 kB / 450.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.2578, allocations: 4 kB / 450.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2578, allocations: 2.594 kB / 450.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.2579, allocations: 57.17 kB / 451 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.2584, allocations: 379.2 kB / 451.3 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.2588, allocations: 68.59 kB / 451.4 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/0.2589, allocations: 19.22 kB / 451.4 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.2589, allocations: 1.125 kB / 451.4 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.142e-05/0.2589, allocations: 35.88 kB / 451.5 MB, free: 5.145 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2589, allocations: 0 / 451.5 MB, free: 5.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002507/0.2591, allocations: 91.88 kB / 451.5 MB, free: 5.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.2592, allocations: 56.78 kB / 451.6 MB, free: 5.023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.2593, allocations: 182.5 kB / 451.8 MB, free: 4.887 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.2593, allocations: 26.2 kB / 451.8 MB, free: 4.855 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.2594, allocations: 117.8 kB / 451.9 MB, free: 4.746 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.2594, allocations: 10.61 kB / 451.9 MB, free: 4.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.2594, allocations: 23.81 kB / 451.9 MB, free: 4.715 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.727e-05/0.2595, allocations: 321.5 kB / 452.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.776e-05/0.2595, allocations: 30.16 kB / 452.3 MB, free: 4.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.725e-05/0.2596, allocations: 17.59 kB / 452.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.2597, allocations: 47.3 kB / 452.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2597, allocations: 4.531 kB / 452.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001476/0.2599, allocations: 84.91 kB / 452.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.2599, allocations: 15 kB / 452.5 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2599, allocations: 1.375 kB / 452.5 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.2599, allocations: 0 / 452.5 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.148e-05/0.26, allocations: 13.62 kB / 452.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.26, allocations: 3 kB / 452.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.207e-05/0.26, allocations: 8.078 kB / 452.5 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.26, allocations: 1.375 kB / 452.5 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.729e-05/0.2601, allocations: 102.4 kB / 452.6 MB, free: 4.191 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.108e-05/0.2602, allocations: 28.14 kB / 452.6 MB, free: 4.176 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.277e-05/0.2603, allocations: 47.14 kB / 452.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.81e-07/0.2603, allocations: 0 / 452.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001479/0.2604, allocations: 81.91 kB / 452.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.2604, allocations: 4.906 kB / 452.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-06/0.2604, allocations: 4.469 kB / 452.7 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-06/0.2604, allocations: 0.7812 kB / 452.7 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.299e-05/0.2605, allocations: 11.92 kB / 452.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-06/0.2605, allocations: 0.5 kB / 452.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.12e-05/0.2606, allocations: 6.188 kB / 452.8 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.2606, allocations: 1.656 kB / 452.8 MB, free: 4.09 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.883e-05/0.2606, allocations: 188.4 kB / 453 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.2606, allocations: 21.19 kB / 453 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.2608, allocations: 76.56 kB / 453 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.2608, allocations: 1.062 kB / 453 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2608, allocations: 0.6875 kB / 453 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2608, allocations: 0 / 453 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.2612, allocations: 352.8 kB / 453.4 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2612, allocations: 1.016 kB / 453.4 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.415e-05/0.2612, allocations: 13.95 kB / 453.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2612, allocations: 0 / 453.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.2612, allocations: 1.906 kB / 453.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2612, allocations: 1.062 kB / 453.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2612, allocations: 0.5156 kB / 453.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.2614, allocations: 187.2 kB / 453.6 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.2614, allocations: 100.6 kB / 453.7 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.2614, allocations: 2.141 kB / 453.7 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.188e-05/0.2615, allocations: 6.906 kB / 453.7 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.2616, allocations: 4.734 kB / 453.7 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.2616, allocations: 1.562 kB / 453.7 MB, free: 3.211 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.955e-05/0.2616, allocations: 141.9 kB / 453.8 MB, free: 3.113 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2616, allocations: 0 / 453.8 MB, free: 3.113 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002971/0.2619, allocations: 38.78 kB / 453.9 MB, free: 3.109 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.0002943/0.2622, allocations: 0.7174 MB / 454.6 MB, free: 2.406 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.2625, allocations: 61.56 kB / 454.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2625, allocations: 0 / 454.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.933e-05/0.2625, allocations: 25.77 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.0003128/0.2628, allocations: 14.75 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.001413/0.2642, allocations: 1.671 MB / 456.4 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.2644, allocations: 0.7015 MB / 457.1 MB, free: 308 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.837e-05/0.2644, allocations: 7.141 kB / 457.1 MB, free: 308 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.2644, allocations: 30.84 kB / 457.1 MB, free: 284 kB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2644, allocations: 0 / 457.1 MB, free: 284 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.2813, allocations: 2.516 MB / 459.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.222, allocations: 10.25 kB / 459.6 MB, free: 15.53 MB / 334.1 MB " [Timeout remaining time 652] (rm -f MEV_MEV.Test.TestPatientValve.pipe ; mkfifo MEV_MEV.Test.TestPatientValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestPatientValve.pipe >> ../files/MEV_MEV.Test.TestPatientValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestPatientValve_fmu --startTime=0 --stopTime=2 --stepSize=0.004 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestPatientValve.fmu > MEV_MEV.Test.TestPatientValve.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.600053791014943] Failed to read output from testmodel.py, exit status != 0: 8.346651309984736 8.372853472 8.111034531 Calling exit ...