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.000845/0.0008493, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008772/0.0008772, allocations: 182.5 kB / 16.92 MB, free: 6.918 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.29/1.29, allocations: 205.4 MB / 223.1 MB, free: 5.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007829/0.007829, allocations: 1.924 MB / 273.3 MB, free: 3.527 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.0005019/0.000502, allocations: 16.22 kB / 332.2 MB, free: 33.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06603/0.06654, allocations: 48.1 MB / 380.3 MB, free: 0.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002039/0.06862, allocations: 1.917 MB / 382.2 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008535/0.06949, allocations: 0.5973 MB / 382.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.06955, allocations: 0 / 382.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.847e-05/0.0696, allocations: 15.91 kB / 382.8 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.06971, allocations: 35.7 kB / 382.8 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.06988, allocations: 35.89 kB / 382.9 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.07005, allocations: 127.3 kB / 383 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.07016, allocations: 36.83 kB / 383 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.377e-05/0.07023, allocations: 43.73 kB / 383.1 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.364e-05/0.07033, allocations: 43.78 kB / 383.1 MB, free: 14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.07036, allocations: 8 kB / 383.1 MB, free: 14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.817e-05/0.07041, allocations: 8 kB / 383.1 MB, free: 13.99 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.07044, allocations: 23.84 kB / 383.1 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.299e-05/0.07052, allocations: 81.38 kB / 383.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.07064, allocations: 79.81 kB / 383.3 MB, free: 13.8 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.07065, allocations: 0 / 383.3 MB, free: 13.8 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.07066, allocations: 4 kB / 383.3 MB, free: 13.8 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.07067, allocations: 0 / 383.3 MB, free: 13.8 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.0004933/0.07116, allocations: 407 kB / 383.7 MB, free: 13.35 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.0712, allocations: 8.031 kB / 383.7 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.07124, allocations: 16.78 kB / 383.7 MB, free: 13.33 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.07142, allocations: 194.5 kB / 383.9 MB, free: 13.1 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.07144, allocations: 8.375 kB / 383.9 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.07146, allocations: 4.375 kB / 383.9 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.07166, allocations: 101.9 kB / 384 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.07168, allocations: 0 / 384 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.0717, allocations: 7.938 kB / 384 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.07171, allocations: 4 kB / 384 MB, free: 12.97 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.07186, allocations: 59.88 kB / 384.1 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005352/0.07241, allocations: 392.4 kB / 384.5 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004272/0.07285, allocations: 66.53 kB / 384.5 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.414e-05/0.07292, allocations: 24.94 kB / 384.6 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.07296, allocations: 4 kB / 384.6 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.07298, allocations: 30.56 kB / 384.6 MB, free: 12.34 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.07299, allocations: 0 / 384.6 MB, free: 12.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002641/0.07325, allocations: 101.5 kB / 384.7 MB, free: 12.23 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.0733, allocations: 59.39 kB / 384.8 MB, free: 12.16 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.07346, allocations: 178.7 kB / 384.9 MB, free: 11.97 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.07348, allocations: 29.7 kB / 385 MB, free: 11.94 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.07355, allocations: 104 kB / 385.1 MB, free: 11.83 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.07358, allocations: 19.73 kB / 385.1 MB, free: 11.81 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.07361, allocations: 13.72 kB / 385.1 MB, free: 11.79 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.07371, allocations: 318.8 kB / 385.4 MB, free: 11.47 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.27e-05/0.07378, allocations: 20 kB / 385.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-05/0.07385, allocations: 27.98 kB / 385.5 MB, free: 11.43 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.07398, allocations: 52.78 kB / 385.5 MB, free: 11.37 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.07399, allocations: 0 / 385.5 MB, free: 11.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001695/0.07416, allocations: 89.7 kB / 385.6 MB, free: 11.28 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/0.07422, allocations: 99.75 kB / 385.7 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.07423, allocations: 4 kB / 385.7 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.07425, allocations: 4 kB / 385.7 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.856e-05/0.07433, allocations: 11.98 kB / 385.7 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.07435, allocations: 0 / 385.7 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.85e-05/0.07442, allocations: 7.906 kB / 385.7 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.07443, allocations: 4.188 kB / 385.7 MB, free: 11.14 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/0.07445, allocations: 4 kB / 385.7 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001213/0.07457, allocations: 59.91 kB / 385.8 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-06/0.07458, allocations: 0 / 385.8 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.37e-06/0.07459, allocations: 3.984 kB / 385.8 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.678e-05/0.07466, allocations: 11.94 kB / 385.8 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.07467, allocations: 7.938 kB / 385.8 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.936e-05/0.07472, allocations: 3.938 kB / 385.8 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-06/0.07473, allocations: 11.92 kB / 385.8 MB, free: 11.04 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 9.817e-05/0.07484, allocations: 189.1 kB / 386 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.07488, allocations: 15.81 kB / 386 MB, free: 10.83 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.07506, allocations: 86.55 kB / 386.1 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.07508, allocations: 7.922 kB / 386.1 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.07508, allocations: 0 / 386.1 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.07509, allocations: 0 / 386.1 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.07547, allocations: 351.4 kB / 386.5 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.07549, allocations: 3.984 kB / 386.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.016e-05/0.07555, allocations: 11.94 kB / 386.5 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.07556, allocations: 4 kB / 386.5 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.07557, allocations: 0 / 386.5 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.07558, allocations: 128 / 386.5 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.07558, allocations: 4 kB / 386.5 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.07577, allocations: 184.3 kB / 386.7 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.07585, allocations: 100.9 kB / 386.8 MB, free: 9.988 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.07587, allocations: 0 / 386.8 MB, free: 9.988 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.005e-05/0.07597, allocations: 7.984 kB / 386.8 MB, free: 9.98 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.076, allocations: 4 kB / 386.8 MB, free: 9.977 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.07601, allocations: 0 / 386.8 MB, free: 9.977 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.07612, allocations: 148 kB / 386.9 MB, free: 9.832 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07612, allocations: 0 / 386.9 MB, free: 9.832 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003166/0.07645, allocations: 39.91 kB / 387 MB, free: 9.793 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 9.765e-05/0.07655, allocations: 91.19 kB / 387 MB, free: 9.695 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.07676, allocations: 71.91 kB / 387.1 MB, free: 9.625 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.07678, allocations: 8 kB / 387.1 MB, free: 9.617 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.468e-05/0.07684, allocations: 19.98 kB / 387.1 MB, free: 9.598 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.07714, allocations: 11.94 kB / 387.2 MB, free: 9.586 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.07763, allocations: 358.5 kB / 387.5 MB, free: 9.203 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.07789, allocations: 0.7081 MB / 388.2 MB, free: 8.469 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.07793, allocations: 11.44 kB / 388.2 MB, free: 8.457 MB / 286.1 MB Notification: Performance of SimCode: time 2.81e-07/0.07794, allocations: 0 / 388.2 MB, free: 8.457 MB / 286.1 MB Notification: Performance of Templates: time 0.002599/0.08054, allocations: 1.219 MB / 389.4 MB, free: 7.234 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)