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.001181/0.001181, allocations: 105.1 kB / 16.27 MB, free: 6.414 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.001123/0.001123, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.156/1.156, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007732/0.007732, allocations: 1.935 MB / 272.4 MB, free: 10.15 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.001402/0.001402, allocations: 67.86 kB / 330.5 MB, free: 15.93 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0684/0.06982, allocations: 47.12 MB / 377.6 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.1138/0.1836, allocations: 1.957 MB / 379.6 MB, free: 52.15 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006413/0.1843, allocations: 0.5736 MB / 380.2 MB, free: 51.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.459e-05/0.1844, allocations: 1.938 kB / 380.2 MB, free: 51.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.807e-05/0.1845, allocations: 16.64 kB / 380.2 MB, free: 51.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.935e-05/0.1846, allocations: 44.98 kB / 380.2 MB, free: 51.92 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.1847, allocations: 35.31 kB / 380.3 MB, free: 51.92 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.1849, allocations: 135.8 kB / 380.4 MB, free: 51.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.185, allocations: 32.67 kB / 380.4 MB, free: 51.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.353e-05/0.185, allocations: 47.52 kB / 380.5 MB, free: 51.9 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.831e-05/0.1851, allocations: 60.31 kB / 380.5 MB, free: 51.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.1851, allocations: 8.875 kB / 380.5 MB, free: 51.88 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.439e-05/0.1852, allocations: 16.97 kB / 380.6 MB, free: 51.88 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.1852, allocations: 21.75 kB / 380.6 MB, free: 51.88 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.227e-05/0.1853, allocations: 61.44 kB / 380.6 MB, free: 51.86 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.1854, allocations: 107.6 kB / 380.7 MB, free: 51.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1854, allocations: 0 / 380.7 MB, free: 51.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1854, allocations: 0 / 380.7 MB, free: 51.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.1854, allocations: 2.938 kB / 380.7 MB, free: 51.84 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.0003928/0.1858, allocations: 422.9 kB / 381.2 MB, free: 51.45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.682e-05/0.1859, allocations: 13.2 kB / 381.2 MB, free: 51.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.1859, allocations: 14.28 kB / 381.2 MB, free: 51.44 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.186, allocations: 203.9 kB / 381.4 MB, free: 51.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1861, allocations: 8.875 kB / 381.4 MB, free: 51.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.1861, allocations: 8.125 kB / 381.4 MB, free: 51.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1862, allocations: 88.8 kB / 381.5 MB, free: 51.19 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1862, allocations: 1.156 kB / 381.5 MB, free: 51.19 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1863, allocations: 3.625 kB / 381.5 MB, free: 51.19 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1863, allocations: 2.375 kB / 381.5 MB, free: 51.19 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.1864, allocations: 64.81 kB / 381.6 MB, free: 51.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.1868, allocations: 389.3 kB / 381.9 MB, free: 50.9 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.1872, allocations: 68.64 kB / 382 MB, free: 50.88 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.1873, allocations: 21.23 kB / 382 MB, free: 50.87 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.1873, allocations: 3.578 kB / 382 MB, free: 50.87 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.698e-06/0.1873, allocations: 31.08 kB / 382.1 MB, free: 50.83 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1873, allocations: 0 / 382.1 MB, free: 50.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002187/0.1875, allocations: 94.08 kB / 382.1 MB, free: 50.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.533e-05/0.1876, allocations: 52.16 kB / 382.2 MB, free: 50.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.1877, allocations: 183.7 kB / 382.4 MB, free: 50.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.333e-06/0.1877, allocations: 27.41 kB / 382.4 MB, free: 50.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.1877, allocations: 113.8 kB / 382.5 MB, free: 50.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.478e-06/0.1877, allocations: 12.86 kB / 382.5 MB, free: 50.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.1878, allocations: 22.33 kB / 382.5 MB, free: 50.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.34e-05/0.1878, allocations: 321.3 kB / 382.9 MB, free: 50.17 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.52e-05/0.1879, allocations: 26.09 kB / 382.9 MB, free: 50.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.434e-05/0.1879, allocations: 22.95 kB / 382.9 MB, free: 50.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.315e-05/0.188, allocations: 46.8 kB / 383 MB, free: 50.15 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.188, allocations: 0 / 383 MB, free: 50.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000136/0.1882, allocations: 92.08 kB / 383 MB, free: 50.12 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.1882, allocations: 7.281 kB / 383.1 MB, free: 50.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1882, allocations: 8.203 kB / 383.1 MB, free: 50.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1882, allocations: 0 / 383.1 MB, free: 50.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.815e-05/0.1883, allocations: 16.66 kB / 383.1 MB, free: 50.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.1883, allocations: 0 / 383.1 MB, free: 50.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.626e-05/0.1884, allocations: 11.3 kB / 383.1 MB, free: 50.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1884, allocations: 1.797 kB / 383.1 MB, free: 50.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.123e-05/0.1885, allocations: 105.7 kB / 383.2 MB, free: 50.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.674e-05/0.1885, allocations: 15.22 kB / 383.2 MB, free: 50.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.251e-05/0.1886, allocations: 46.92 kB / 383.3 MB, free: 50.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.1886, allocations: 1.906 kB / 383.3 MB, free: 50.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001182/0.1887, allocations: 77.67 kB / 383.3 MB, free: 49.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.891e-06/0.1887, allocations: 5.062 kB / 383.3 MB, free: 49.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.82e-07/0.1887, allocations: 4.812 kB / 383.3 MB, free: 49.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-06/0.1887, allocations: 5.031 kB / 383.3 MB, free: 49.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.118e-05/0.1888, allocations: 11.27 kB / 383.4 MB, free: 49.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-06/0.1888, allocations: 3.125 kB / 383.4 MB, free: 49.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.888e-05/0.1889, allocations: 3.641 kB / 383.4 MB, free: 49.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.1889, allocations: 1.656 kB / 383.4 MB, free: 49.97 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 3.665e-05/0.1889, allocations: 186.3 kB / 383.5 MB, free: 49.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.1889, allocations: 17.84 kB / 383.6 MB, free: 49.78 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.1891, allocations: 81.27 kB / 383.6 MB, free: 49.74 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1891, allocations: 1.75 kB / 383.6 MB, free: 49.74 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.1891, allocations: 0 / 383.6 MB, free: 49.74 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1891, allocations: 3.016 kB / 383.6 MB, free: 49.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.1894, allocations: 351.4 kB / 384 MB, free: 49.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1894, allocations: 0 / 384 MB, free: 49.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.1895, allocations: 14.55 kB / 384 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1895, allocations: 1.688 kB / 384 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.1895, allocations: 2.531 kB / 384 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1895, allocations: 1.812 kB / 384 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1895, allocations: 0 / 384 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.1896, allocations: 179.7 kB / 384.2 MB, free: 49.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.1897, allocations: 100.1 kB / 384.3 MB, free: 49.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.1897, allocations: 1.953 kB / 384.3 MB, free: 49.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/0.1898, allocations: 4.906 kB / 384.3 MB, free: 49.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.1898, allocations: 4.156 kB / 384.3 MB, free: 49.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.1898, allocations: 1.406 kB / 384.3 MB, free: 49.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.741e-05/0.1899, allocations: 139.2 kB / 384.4 MB, free: 49.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1899, allocations: 1.094 kB / 384.4 MB, free: 49.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.1902, allocations: 40.94 kB / 384.5 MB, free: 49.1 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 6.72e-05/0.1903, allocations: 100.3 kB / 384.6 MB, free: 49.01 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.1904, allocations: 66.83 kB / 384.6 MB, free: 49.01 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1905, allocations: 0.5625 kB / 384.6 MB, free: 49.01 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.316e-05/0.1905, allocations: 20.7 kB / 384.7 MB, free: 49.01 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.1908, allocations: 21.02 kB / 384.7 MB, free: 49.01 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.1912, allocations: 294.5 kB / 385 MB, free: 48.8 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.746e-05/0.1913, allocations: 0.7039 MB / 385.7 MB, free: 48.1 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.1913, allocations: 16.67 kB / 385.7 MB, free: 48.09 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1913, allocations: 3.656 kB / 385.7 MB, free: 48.09 MB / 318.1 MB Notification: Performance of Templates: time 0.002412/0.1937, allocations: 1.235 MB / 386.9 MB, free: 48.02 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 -lv LOG_STATS > MEV_MEV.Test.TestPatientValve.pipe 2>&1)