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.0009963/0.0009963, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001127/0.001127, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01392/0.01392, allocations: 1.924 MB / 272.3 MB, free: 3.387 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.0005931/0.0005936, allocations: 16 kB / 330.9 MB, free: 33.34 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1153, allocations: 48.1 MB / 379 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002729/0.1181, allocations: 1.847 MB / 380.8 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1195, allocations: 0.5858 MB / 381.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.1197, allocations: 4 kB / 381.4 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.1199, allocations: 19.84 kB / 381.5 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.1201, allocations: 55.48 kB / 381.5 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.1204, allocations: 27.97 kB / 381.5 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.1207, allocations: 127.3 kB / 381.7 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.1209, allocations: 36.83 kB / 381.7 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.121, allocations: 39.8 kB / 381.7 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1211, allocations: 47.78 kB / 381.8 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.1211, allocations: 4 kB / 381.8 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.31e-05/0.1212, allocations: 11.98 kB / 381.8 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.1212, allocations: 19.92 kB / 381.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.1213, allocations: 45.64 kB / 381.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.1214, allocations: 75.81 kB / 381.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.1215, allocations: 0 / 381.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1215, allocations: 4 kB / 381.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.1215, allocations: 0 / 381.9 MB, free: 14.21 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.0006446/0.1221, allocations: 406.8 kB / 382.3 MB, free: 13.77 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.1222, allocations: 12.03 kB / 382.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/0.1223, allocations: 7.906 kB / 382.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.1225, allocations: 205.2 kB / 382.6 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1226, allocations: 7.953 kB / 382.6 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.1226, allocations: 12 kB / 382.6 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.1228, allocations: 85.66 kB / 382.7 MB, free: 13.4 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1229, allocations: 0 / 382.7 MB, free: 13.4 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.1229, allocations: 4 kB / 382.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1229, allocations: 0 / 382.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.1231, allocations: 63.81 kB / 382.7 MB, free: 13.33 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006842/0.1237, allocations: 388.5 kB / 383.1 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.1242, allocations: 74.47 kB / 383.2 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.604e-05/0.1243, allocations: 20.86 kB / 383.2 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1243, allocations: 4 kB / 383.2 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.1244, allocations: 38.64 kB / 383.2 MB, free: 12.75 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.1244, allocations: 0 / 383.2 MB, free: 12.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000316/0.1247, allocations: 97.53 kB / 383.3 MB, free: 12.64 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.1247, allocations: 51.41 kB / 383.4 MB, free: 12.58 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.125, allocations: 186.6 kB / 383.6 MB, free: 12.39 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.125, allocations: 25.7 kB / 383.6 MB, free: 12.36 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/0.1251, allocations: 112 kB / 383.7 MB, free: 12.24 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.1251, allocations: 11.75 kB / 383.7 MB, free: 12.23 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.1251, allocations: 0 / 383.7 MB, free: 12.23 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1252, allocations: 326.8 kB / 384 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.925e-05/0.1253, allocations: 23.92 kB / 384.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.101e-05/0.1254, allocations: 20 kB / 384.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.319e-05/0.1254, allocations: 23.98 kB / 384.1 MB, free: 11.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1255, allocations: 0 / 384.1 MB, free: 11.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001604/0.1256, allocations: 81.58 kB / 384.2 MB, free: 11.75 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.624e-05/0.1257, allocations: 99.77 kB / 384.3 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.1257, allocations: 0 / 384.3 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1257, allocations: 4 kB / 384.3 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-05/0.1258, allocations: 19.94 kB / 384.3 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1259, allocations: 0 / 384.3 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.1259, allocations: 12.08 kB / 384.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.1259, allocations: 4 kB / 384.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.126, allocations: 4 kB / 384.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001097/0.1261, allocations: 43.98 kB / 384.4 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-06/0.1261, allocations: 4 kB / 384.4 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-06/0.1261, allocations: 192 / 384.4 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.73e-05/0.1262, allocations: 15.98 kB / 384.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1262, allocations: 3.953 kB / 384.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/0.1262, allocations: 11.94 kB / 384.4 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.1262, allocations: 7.922 kB / 384.4 MB, free: 11.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001498/0.1264, allocations: 189.8 kB / 384.6 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.1265, allocations: 15.81 kB / 384.6 MB, free: 11.31 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.1267, allocations: 86.53 kB / 384.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1267, allocations: 0 / 384.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.1267, allocations: 3.953 kB / 384.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1267, allocations: 4 kB / 384.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.1272, allocations: 351.4 kB / 385 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1272, allocations: 4 kB / 385 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.1272, allocations: 12 kB / 385.1 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1272, allocations: 3.984 kB / 385.1 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1273, allocations: 3.953 kB / 385.1 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1273, allocations: 0 / 385.1 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1273, allocations: 0 / 385.1 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.1275, allocations: 184.2 kB / 385.2 MB, free: 10.58 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.406e-05/0.1275, allocations: 93 kB / 385.3 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.1276, allocations: 0 / 385.3 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.1277, allocations: 11.95 kB / 385.3 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.1277, allocations: 4 kB / 385.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.1277, allocations: 3.984 kB / 385.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.1279, allocations: 136 kB / 385.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1279, allocations: 4 kB / 385.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003177/0.1282, allocations: 39.91 kB / 385.5 MB, free: 10.28 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001493/0.1284, allocations: 95.19 kB / 385.6 MB, free: 10.18 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.1286, allocations: 80.08 kB / 385.7 MB, free: 10.1 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1286, allocations: 0 / 385.7 MB, free: 10.1 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.775e-05/0.1287, allocations: 23.94 kB / 385.7 MB, free: 10.07 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.1291, allocations: 20.11 kB / 385.7 MB, free: 10.05 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005614/0.1296, allocations: 308.5 kB / 386 MB, free: 9.727 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.1299, allocations: 0.7042 MB / 386.7 MB, free: 8.996 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.212e-05/0.13, allocations: 12.42 kB / 386.8 MB, free: 8.984 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.13, allocations: 11.44 kB / 386.8 MB, free: 8.973 MB / 286.1 MB Notification: Performance of SimCode: time 4.3e-07/0.13, allocations: 0 / 386.8 MB, free: 8.973 MB / 286.1 MB Notification: Performance of Templates: time 0.003886/0.1339, allocations: 0.9136 MB / 387.7 MB, free: 8.059 MB / 286.1 MB make -j1 -f MEV_MEV.Test.TestPatientValve.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: