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.001022/0.001022, allocations: 106.8 kB / 16.37 MB, free: 6.477 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.001297/0.001297, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.2/1.2, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.00883/0.00883, allocations: 1.935 MB / 272.5 MB, free: 10.11 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.001418/0.001418, allocations: 71.89 kB / 331.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2068, allocations: 47.12 MB / 378.4 MB, free: 53.11 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002504/0.2093, allocations: 1.95 MB / 380.4 MB, free: 52.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007429/0.2101, allocations: 0.5734 MB / 380.9 MB, free: 52.33 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.2102, allocations: 1.094 kB / 380.9 MB, free: 52.33 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.911e-05/0.2102, allocations: 18.3 kB / 381 MB, free: 52.33 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.2103, allocations: 41.03 kB / 381 MB, free: 52.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.2105, allocations: 42.73 kB / 381 MB, free: 52.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.2107, allocations: 137.4 kB / 381.2 MB, free: 52.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.2108, allocations: 34.95 kB / 381.2 MB, free: 52.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.697e-05/0.2109, allocations: 46.34 kB / 381.2 MB, free: 52.3 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.56e-05/0.2109, allocations: 55.72 kB / 381.3 MB, free: 52.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.211, allocations: 7.688 kB / 381.3 MB, free: 52.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.614e-05/0.211, allocations: 19.33 kB / 381.3 MB, free: 52.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.2111, allocations: 25.16 kB / 381.4 MB, free: 52.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.2111, allocations: 56.73 kB / 381.4 MB, free: 52.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.2113, allocations: 111.9 kB / 381.5 MB, free: 52.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2113, allocations: 0 / 381.5 MB, free: 52.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2113, allocations: 0 / 381.5 MB, free: 52.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.2113, allocations: 1.406 kB / 381.5 MB, free: 52.25 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.0004401/0.2117, allocations: 422.6 kB / 381.9 MB, free: 51.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.2118, allocations: 14.52 kB / 381.9 MB, free: 51.86 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.2118, allocations: 15.22 kB / 382 MB, free: 51.85 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.212, allocations: 207.5 kB / 382.2 MB, free: 51.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.212, allocations: 6.156 kB / 382.2 MB, free: 51.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.212, allocations: 9.5 kB / 382.2 MB, free: 51.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.2122, allocations: 89.78 kB / 382.3 MB, free: 51.6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.2122, allocations: 0 / 382.3 MB, free: 51.6 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.2122, allocations: 8.156 kB / 382.3 MB, free: 51.6 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2122, allocations: 1.938 kB / 382.3 MB, free: 51.6 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.2123, allocations: 51.77 kB / 382.3 MB, free: 51.6 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.2128, allocations: 390.1 kB / 382.7 MB, free: 51.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.2132, allocations: 68.23 kB / 382.8 MB, free: 51.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.2132, allocations: 20.67 kB / 382.8 MB, free: 51.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.2133, allocations: 3.031 kB / 382.8 MB, free: 51.29 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.2133, allocations: 36 kB / 382.8 MB, free: 51.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2133, allocations: 0 / 382.8 MB, free: 51.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002479/0.2136, allocations: 87.56 kB / 382.9 MB, free: 51.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.2136, allocations: 53.11 kB / 383 MB, free: 51.15 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.2137, allocations: 187.5 kB / 383.2 MB, free: 51.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.2137, allocations: 25.7 kB / 383.2 MB, free: 51.01 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.2138, allocations: 114 kB / 383.3 MB, free: 50.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.578e-06/0.2138, allocations: 11.17 kB / 383.3 MB, free: 50.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.2139, allocations: 23.73 kB / 383.3 MB, free: 50.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.763e-05/0.2139, allocations: 322 kB / 383.6 MB, free: 50.58 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.954e-05/0.214, allocations: 22.61 kB / 383.7 MB, free: 50.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.867e-05/0.214, allocations: 29.06 kB / 383.7 MB, free: 50.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.641e-05/0.2141, allocations: 44.34 kB / 383.7 MB, free: 50.56 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2141, allocations: 5.156 kB / 383.7 MB, free: 50.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001522/0.2143, allocations: 86.84 kB / 383.8 MB, free: 50.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2143, allocations: 5.969 kB / 383.8 MB, free: 50.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2143, allocations: 5.844 kB / 383.8 MB, free: 50.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2143, allocations: 0.6094 kB / 383.8 MB, free: 50.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.2144, allocations: 12.53 kB / 383.8 MB, free: 50.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2144, allocations: 0 / 383.8 MB, free: 50.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.626e-05/0.2145, allocations: 19.69 kB / 383.9 MB, free: 50.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.2145, allocations: 2 kB / 383.9 MB, free: 50.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.934e-05/0.2146, allocations: 103.8 kB / 384 MB, free: 50.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.73e-05/0.2146, allocations: 19.75 kB / 384 MB, free: 50.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.426e-05/0.2147, allocations: 36.47 kB / 384 MB, free: 50.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.2147, allocations: 3.5 kB / 384 MB, free: 50.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.000124/0.2149, allocations: 82.25 kB / 384.1 MB, free: 50.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.552e-06/0.2149, allocations: 12.27 kB / 384.1 MB, free: 50.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-06/0.2149, allocations: 0 / 384.1 MB, free: 50.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-06/0.2149, allocations: 5.062 kB / 384.1 MB, free: 50.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.215, allocations: 13.44 kB / 384.1 MB, free: 50.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-06/0.215, allocations: 0 / 384.1 MB, free: 50.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.881e-05/0.215, allocations: 3.188 kB / 384.1 MB, free: 50.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.215, allocations: 2.562 kB / 384.1 MB, free: 50.33 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.714e-05/0.2151, allocations: 183.3 kB / 384.3 MB, free: 50.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.2151, allocations: 13.06 kB / 384.3 MB, free: 50.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.2153, allocations: 85.75 kB / 384.4 MB, free: 50.08 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2153, allocations: 1.812 kB / 384.4 MB, free: 50.08 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2153, allocations: 0 / 384.4 MB, free: 50.08 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.2153, allocations: 1.25 kB / 384.4 MB, free: 50.08 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.2157, allocations: 356.5 kB / 384.8 MB, free: 49.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2157, allocations: 0 / 384.8 MB, free: 49.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.917e-05/0.2157, allocations: 9.516 kB / 384.8 MB, free: 49.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2157, allocations: 6.719 kB / 384.8 MB, free: 49.74 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.2157, allocations: 0.6562 kB / 384.8 MB, free: 49.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2157, allocations: 2.625 kB / 384.8 MB, free: 49.74 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2158, allocations: 4.953 kB / 384.8 MB, free: 49.74 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.2159, allocations: 179.5 kB / 385 MB, free: 49.58 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.216, allocations: 93.31 kB / 385.1 MB, free: 49.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.216, allocations: 5.156 kB / 385.1 MB, free: 49.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/0.2161, allocations: 7.625 kB / 385.1 MB, free: 49.47 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.2161, allocations: 3.547 kB / 385.1 MB, free: 49.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.2161, allocations: 1.156 kB / 385.1 MB, free: 49.47 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.24e-05/0.2162, allocations: 144.8 kB / 385.2 MB, free: 49.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2162, allocations: 1.125 kB / 385.2 MB, free: 49.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.2165, allocations: 38.42 kB / 385.3 MB, free: 49.37 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.0001009/0.2166, allocations: 95.45 kB / 385.4 MB, free: 49.28 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.2168, allocations: 70.48 kB / 385.4 MB, free: 49.26 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2168, allocations: 0 / 385.4 MB, free: 49.26 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.606e-05/0.2169, allocations: 17.08 kB / 385.4 MB, free: 49.26 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.2172, allocations: 17.89 kB / 385.5 MB, free: 49.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.2176, allocations: 275.5 kB / 385.7 MB, free: 49.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.2177, allocations: 0.7012 MB / 386.4 MB, free: 48.36 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.085e-05/0.2178, allocations: 12.98 kB / 386.4 MB, free: 48.35 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.2178, allocations: 11.58 kB / 386.4 MB, free: 48.34 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.2178, allocations: 1.062 kB / 386.5 MB, free: 48.34 MB / 318.1 MB Notification: Performance of Templates: time 0.003287/0.2211, allocations: 1.02 MB / 387.5 MB, free: 48.28 MB / 318.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 -s gbode -lv LOG_STATS > MEV_MEV.Test.TestPatientValve.pipe 2>&1)