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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) 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: translateModel(MEV.Test.TestPatientValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientValve") translateModel(MEV.Test.TestPatientValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009302/0.0009302, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009632/0.0009633, allocations: 194.2 kB / 16.26 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.168/1.168, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007459/0.007459, allocations: 1.932 MB / 271.4 MB, free: 3.508 MB / 222.1 MB 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.001217/0.001217, allocations: 71.84 kB / 329.3 MB, free: 33.15 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06085/0.06208, allocations: 47.14 MB / 376.5 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002756/0.06487, allocations: 2.266 MB / 378.7 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007816/0.06566, allocations: 0.6089 MB / 379.3 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.302e-05/0.06573, allocations: 0 / 379.3 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.035e-05/0.0658, allocations: 11.91 kB / 379.4 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.06591, allocations: 47.67 kB / 379.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.06609, allocations: 27.92 kB / 379.4 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.06623, allocations: 131.3 kB / 379.6 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.06634, allocations: 36.83 kB / 379.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.694e-05/0.0664, allocations: 47.73 kB / 379.6 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.639e-05/0.06649, allocations: 59.77 kB / 379.7 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.06652, allocations: 8 kB / 379.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.906e-05/0.06657, allocations: 15.98 kB / 379.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.0666, allocations: 27.86 kB / 379.8 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.035e-05/0.06665, allocations: 59.67 kB / 379.8 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.06679, allocations: 111.6 kB / 379.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.0668, allocations: 0 / 379.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.06681, allocations: 0 / 379.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.06681, allocations: 0 / 379.9 MB, free: 14.5 MB / 286.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.0004824/0.0673, allocations: 419 kB / 380.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.06734, allocations: 15.88 kB / 380.3 MB, free: 14.03 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.06738, allocations: 16.75 kB / 380.4 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.06754, allocations: 206.3 kB / 380.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.06755, allocations: 4.359 kB / 380.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.06757, allocations: 12.38 kB / 380.6 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.06774, allocations: 93.91 kB / 380.7 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.06776, allocations: 3.938 kB / 380.7 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.06778, allocations: 0 / 380.7 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.06779, allocations: 12 kB / 380.7 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.06792, allocations: 51.97 kB / 380.7 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.0684, allocations: 388.5 kB / 381.1 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/0.06882, allocations: 66.53 kB / 381.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.469e-05/0.06889, allocations: 28.94 kB / 381.2 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.06891, allocations: 0 / 381.2 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.06893, allocations: 30.56 kB / 381.2 MB, free: 13.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.06894, allocations: 0 / 381.2 MB, free: 13.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002222/0.06917, allocations: 89.45 kB / 381.3 MB, free: 12.93 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.06921, allocations: 59.39 kB / 381.4 MB, free: 12.86 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.06936, allocations: 182.6 kB / 381.6 MB, free: 12.67 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.06938, allocations: 25.7 kB / 381.6 MB, free: 12.64 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.06944, allocations: 108 kB / 381.7 MB, free: 12.53 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.06946, allocations: 23.72 kB / 381.7 MB, free: 12.5 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.0695, allocations: 17.72 kB / 381.7 MB, free: 12.48 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.419e-05/0.0696, allocations: 326.8 kB / 382.1 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.757e-05/0.06966, allocations: 28.84 kB / 382.1 MB, free: 12.12 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.399e-05/0.06971, allocations: 16 kB / 382.1 MB, free: 12.11 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.696e-05/0.06982, allocations: 48.78 kB / 382.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.06983, allocations: 0 / 382.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001445/0.06997, allocations: 89.58 kB / 382.2 MB, free: 11.96 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.06999, allocations: 6.969 kB / 382.2 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.07001, allocations: 3.938 kB / 382.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.07002, allocations: 0 / 382.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.26e-05/0.0701, allocations: 11.98 kB / 382.3 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.07011, allocations: 8 kB / 382.3 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.843e-05/0.07018, allocations: 3.906 kB / 382.3 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.07019, allocations: 4 kB / 382.3 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.239e-05/0.07028, allocations: 104.1 kB / 382.4 MB, free: 11.82 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.555e-05/0.07032, allocations: 15.98 kB / 382.4 MB, free: 11.8 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.658e-05/0.0704, allocations: 49.09 kB / 382.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.21e-07/0.07041, allocations: 0 / 382.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001274/0.07054, allocations: 77.59 kB / 382.5 MB, free: 11.67 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/0.07056, allocations: 12 kB / 382.5 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.72e-07/0.07056, allocations: 0 / 382.5 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-06/0.07057, allocations: 3.938 kB / 382.5 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.247e-05/0.07062, allocations: 11.98 kB / 382.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-06/0.07063, allocations: 0 / 382.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.07068, allocations: 4 kB / 382.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-06/0.07069, allocations: 0 / 382.5 MB, free: 11.64 MB / 286.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 7.134e-05/0.07077, allocations: 189 kB / 382.7 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.0708, allocations: 15.81 kB / 382.7 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.07096, allocations: 90.47 kB / 382.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.07098, allocations: 0 / 382.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.07098, allocations: 0 / 382.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.07099, allocations: 0 / 382.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.07131, allocations: 351.5 kB / 383.2 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.07132, allocations: 0 / 383.2 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.068e-05/0.07138, allocations: 16.02 kB / 383.2 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.07139, allocations: 4.031 kB / 383.2 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.0714, allocations: 0 / 383.2 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.0714, allocations: 7.938 kB / 383.2 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.07141, allocations: 0 / 383.2 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.07157, allocations: 180.1 kB / 383.4 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.07163, allocations: 97 kB / 383.5 MB, free: 10.6 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.07166, allocations: 4 kB / 383.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.889e-05/0.07174, allocations: 0 / 383.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.07177, allocations: 4 kB / 383.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.07178, allocations: 3.984 kB / 383.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.638e-05/0.07188, allocations: 140 kB / 383.6 MB, free: 10.45 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.07189, allocations: 0 / 383.6 MB, free: 10.45 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.07217, allocations: 39.91 kB / 383.7 MB, free: 10.41 MB / 286.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 8.089e-05/0.07226, allocations: 91.25 kB / 383.7 MB, free: 10.31 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.07246, allocations: 76.08 kB / 383.8 MB, free: 10.24 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.07247, allocations: 0 / 383.8 MB, free: 10.24 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.598e-05/0.07252, allocations: 19.92 kB / 383.8 MB, free: 10.22 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.07278, allocations: 20.06 kB / 383.9 MB, free: 10.2 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.07319, allocations: 300.8 kB / 384.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.07342, allocations: 0.7078 MB / 384.9 MB, free: 9.141 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.105e-05/0.07347, allocations: 12.41 kB / 384.9 MB, free: 9.129 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.0735, allocations: 11.44 kB / 384.9 MB, free: 9.117 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.07351, allocations: 0 / 384.9 MB, free: 9.117 MB / 286.1 MB Notification: Performance of Templates: time 0.002695/0.07621, allocations: 0.9843 MB / 385.9 MB, free: 8.133 MB / 286.1 MB make -j1 -f MEV_MEV.Test.TestPatientValve.makefile (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 & ./MEV_MEV.Test.TestPatientValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestPatientValve.pipe 2>&1)