Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Physiolibrary.Fluid.Examples.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") translateModel(Physiolibrary.Fluid.Examples.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007904/0.007904, allocations: 171.8 kB / 15.11 MB, free: 5.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.2 MB / 239 MB, free: 56 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009305/0.0009305, allocations: 98.56 kB / 290.2 MB, free: 4.586 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3314/0.3314, allocations: 37.08 MB / 378.4 MB, free: 7.801 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003703, allocations: 14.12 kB / 449 MB, free: 80.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1285, allocations: 60.07 MB / 0.4971 GB, free: 19.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5273/0.6558, allocations: 207.1 MB / 0.6993 GB, free: 13.72 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.656, allocations: 73.59 kB / 0.6994 GB, free: 13.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6452/1.301, allocations: 160.8 MB / 0.8565 GB, free: 99.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.836e-06/1.301, allocations: 0 / 0.8565 GB, free: 99.61 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.713e-05/1.301, allocations: 8 kB / 0.8565 GB, free: 99.6 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00356/1.305, allocations: 1.059 MB / 0.8575 GB, free: 98.49 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/1.305, allocations: 12.02 kB / 0.8575 GB, free: 98.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003857/1.305, allocations: 43.44 kB / 0.8575 GB, free: 98.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/1.307, allocations: 0.5845 MB / 0.8581 GB, free: 97.81 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/1.307, allocations: 16.56 kB / 0.8581 GB, free: 97.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/1.307, allocations: 20 kB / 0.8582 GB, free: 97.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/1.308, allocations: 0.6915 MB / 0.8588 GB, free: 97.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/1.308, allocations: 0 / 0.8588 GB, free: 97.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.287e-05/1.308, allocations: 11.95 kB / 0.8588 GB, free: 97.06 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/1.308, allocations: 15.98 kB / 0.8589 GB, free: 97.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/1.309, allocations: 0.9741 MB / 0.8598 GB, free: 96.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002704/1.312, allocations: 1.525 MB / 0.8613 GB, free: 94.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005479/1.313, allocations: 362.6 kB / 0.8616 GB, free: 94.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002229/1.313, allocations: 133 kB / 0.8618 GB, free: 93.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/1.313, allocations: 42.55 kB / 0.8618 GB, free: 93.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001294/1.314, allocations: 267.6 kB / 0.8621 GB, free: 93.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 4.849e-06/1.314, allocations: 0 / 0.8621 GB, free: 93.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.01012/1.324, allocations: 2.454 MB / 0.8645 GB, free: 91.17 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/1.324, allocations: 59.34 kB / 0.8645 GB, free: 91.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006021/1.325, allocations: 416.8 kB / 0.8649 GB, free: 90.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/1.325, allocations: 37.7 kB / 0.865 GB, free: 90.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/1.325, allocations: 176.6 kB / 0.8651 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/1.325, allocations: 102.4 kB / 0.8652 GB, free: 90.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/1.325, allocations: 4 kB / 0.8652 GB, free: 90.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.838e-05/1.326, allocations: 358.8 kB / 0.8656 GB, free: 90 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/1.326, allocations: 223.9 kB / 0.8658 GB, free: 89.78 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/1.326, allocations: 240.9 kB / 0.866 GB, free: 89.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/1.326, allocations: 256.4 kB / 0.8662 GB, free: 89.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.326, allocations: 0 / 0.8662 GB, free: 89.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00245/1.329, allocations: 1.013 MB / 0.8672 GB, free: 88.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.329, allocations: 8 kB / 0.8672 GB, free: 88.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.329, allocations: 0 / 0.8672 GB, free: 88.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01623/1.345, allocations: 2.721 MB / 0.8699 GB, free: 85.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.097e-05/1.345, allocations: 7.953 kB / 0.8699 GB, free: 85.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/1.348, allocations: 1.512 MB / 0.8714 GB, free: 83.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005518/1.349, allocations: 12 kB / 0.8714 GB, free: 83.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.447e-05/1.349, allocations: 27.95 kB / 0.8714 GB, free: 83.95 MB / 0.5105 GB 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 (3): * Single equations (assignments): 2 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {13 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002547/1.349, allocations: 161.8 kB / 0.8716 GB, free: 83.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/1.349, allocations: 39.48 kB / 0.8716 GB, free: 83.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001916/1.351, allocations: 1.112 MB / 0.8727 GB, free: 82.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/1.351, allocations: 7.984 kB / 0.8727 GB, free: 82.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.351, allocations: 4 kB / 0.8727 GB, free: 82.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.351, allocations: 0 / 0.8727 GB, free: 82.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007289/1.352, allocations: 0.5554 MB / 0.8733 GB, free: 82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/1.352, allocations: 0 / 0.8733 GB, free: 82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/1.352, allocations: 4 kB / 0.8733 GB, free: 82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004978/1.357, allocations: 1.417 MB / 0.8746 GB, free: 80.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/1.357, allocations: 4 kB / 0.8746 GB, free: 80.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/1.359, allocations: 1.566 MB / 0.8762 GB, free: 78.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.359, allocations: 0 / 0.8762 GB, free: 78.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/1.36, allocations: 0.9957 MB / 0.8772 GB, free: 77.97 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/1.361, allocations: 176.5 kB / 0.8773 GB, free: 77.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.831e-05/1.361, allocations: 4 kB / 0.8773 GB, free: 77.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/1.361, allocations: 15.98 kB / 0.8773 GB, free: 77.76 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/1.361, allocations: 23.97 kB / 0.8774 GB, free: 77.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/1.361, allocations: 12 kB / 0.8774 GB, free: 77.72 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004152/1.362, allocations: 335.1 kB / 0.8777 GB, free: 77.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.4e-07/1.362, allocations: 4 kB / 0.8777 GB, free: 77.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002057/1.364, allocations: 0.675 MB / 0.8784 GB, free: 76.71 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {13 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.002786/1.367, allocations: 1.199 MB / 0.8795 GB, free: 75.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002127/1.369, allocations: 0.7409 MB / 0.8802 GB, free: 74.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.369, allocations: 0 / 0.8802 GB, free: 74.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009935/1.37, allocations: 483.6 kB / 0.8807 GB, free: 74.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/1.371, allocations: 269.2 kB / 0.881 GB, free: 74.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/1.372, allocations: 1.062 MB / 0.882 GB, free: 72.95 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/1.373, allocations: 0.8239 MB / 0.8828 GB, free: 72.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002813/1.373, allocations: 51.38 kB / 0.8829 GB, free: 72.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.251e-05/1.373, allocations: 31.42 kB / 0.8829 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of SimCode: time 5.91e-07/1.373, allocations: 0 / 0.8829 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of Templates: time 0.03439/1.408, allocations: 26.44 MB / 0.9087 GB, free: 45.61 MB / 0.5105 GB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.makefile (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe 2>&1)