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/Chemical 1.4.0-master/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 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-alpha11 (/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) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/Chemical 1.4.0-master/package.mo): time 0.08027/0.08027, allocations: 15.26 MB / 31.21 MB, free: 3.227 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009404/0.0009405, allocations: 174.1 kB / 36.29 MB, free: 2.27 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.3 MB / 264.5 MB, free: 6.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008164/0.0008166, allocations: 94.48 kB / 319.9 MB, free: 3.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.1084/0.1084, allocations: 20.56 MB / 395.8 MB, free: 43.27 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004992, allocations: 16 kB / 467.6 MB, free: 4.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2736, allocations: 59.78 MB / 0.515 GB, free: 41.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3737/0.6473, allocations: 207.1 MB / 0.7172 GB, free: 144 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.6476, allocations: 75.95 kB / 0.7173 GB, free: 144 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.269/0.9166, allocations: 144.7 MB / 0.8586 GB, free: 17.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.9166, allocations: 0 / 0.8586 GB, free: 17.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.18e-05/0.9167, allocations: 8 kB / 0.8586 GB, free: 17.9 MB / 490.7 MB 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.002346/0.919, allocations: 1.017 MB / 0.8596 GB, free: 16.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.9191, allocations: 12.03 kB / 0.8596 GB, free: 16.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.9192, allocations: 36.47 kB / 0.8597 GB, free: 16.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007281/0.9199, allocations: 0.5031 MB / 0.8602 GB, free: 16.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.92, allocations: 20.94 kB / 0.8602 GB, free: 16.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.96e-05/0.9201, allocations: 16.38 kB / 0.8602 GB, free: 16.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008734/0.9209, allocations: 0.6999 MB / 0.8609 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.921, allocations: 3.938 kB / 0.8609 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.554e-05/0.921, allocations: 8 kB / 0.8609 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.921, allocations: 8 kB / 0.8609 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.9223, allocations: 0.9663 MB / 0.8619 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.9245, allocations: 1.509 MB / 0.8633 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.9251, allocations: 354.6 kB / 0.8637 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000423/0.9255, allocations: 324.6 kB / 0.864 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/0.9257, allocations: 133 kB / 0.8641 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.9257, allocations: 34.56 kB / 0.8641 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001142/0.9269, allocations: 271.5 kB / 0.8644 GB, free: 11.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=31): time 2.745e-06/0.9269, allocations: 0 / 0.8644 GB, free: 11.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=31): time 0.01037/0.9373, allocations: 2.672 MB / 0.867 GB, free: 9.098 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.9373, allocations: 59.34 kB / 0.8671 GB, free: 9.027 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.9377, allocations: 413.6 kB / 0.8675 GB, free: 8.617 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.9378, allocations: 29.7 kB / 0.8675 GB, free: 8.582 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.943e-05/0.9379, allocations: 172.6 kB / 0.8676 GB, free: 8.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.938, allocations: 106.5 kB / 0.8677 GB, free: 8.305 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.938, allocations: 4 kB / 0.8677 GB, free: 8.301 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.216e-05/0.9381, allocations: 342.8 kB / 0.8681 GB, free: 7.957 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.9384, allocations: 227.9 kB / 0.8683 GB, free: 7.734 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.9387, allocations: 232.9 kB / 0.8685 GB, free: 7.508 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006534/0.9394, allocations: 0.4928 MB / 0.869 GB, free: 7.012 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.9394, allocations: 0 / 0.869 GB, free: 7.012 MB / 490.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002237/0.9416, allocations: 1.017 MB / 0.87 GB, free: 5.984 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.9416, allocations: 4 kB / 0.87 GB, free: 5.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.9416, allocations: 4 kB / 0.87 GB, free: 5.977 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01497/0.9566, allocations: 2.705 MB / 0.8726 GB, free: 3.266 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.752e-05/0.9567, allocations: 4 kB / 0.8726 GB, free: 3.262 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/0.9592, allocations: 1.504 MB / 0.8741 GB, free: 1.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.9596, allocations: 8 kB / 0.8741 GB, free: 1.723 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.9597, allocations: 35.89 kB / 0.8742 GB, free: 1.688 MB / 490.7 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 (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.0001964/0.9599, allocations: 158.1 kB / 0.8743 GB, free: 1.523 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.22e-05/0.96, allocations: 39.53 kB / 0.8743 GB, free: 1.484 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/0.9619, allocations: 1.131 MB / 0.8754 GB, free: 348 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.962, allocations: 4 kB / 0.8755 GB, free: 344 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.962, allocations: 0 / 0.8755 GB, free: 344 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.962, allocations: 3.984 kB / 0.8755 GB, free: 340 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2154/1.177, allocations: 1.731 MB / 0.8771 GB, free: 82.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.177, allocations: 0 / 0.8771 GB, free: 82.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.934e-05/1.177, allocations: 7.203 kB / 0.8772 GB, free: 82.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005282/1.183, allocations: 1.429 MB / 0.8785 GB, free: 82.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/1.183, allocations: 8.875 kB / 0.8786 GB, free: 82.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/1.185, allocations: 1.552 MB / 0.8801 GB, free: 81.74 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.185, allocations: 0 / 0.8801 GB, free: 81.74 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/1.186, allocations: 0.9723 MB / 0.881 GB, free: 81.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/1.186, allocations: 174 kB / 0.8812 GB, free: 81.49 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.349e-05/1.187, allocations: 8.875 kB / 0.8812 GB, free: 81.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/1.187, allocations: 12.27 kB / 0.8812 GB, free: 81.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.286e-05/1.187, allocations: 19.84 kB / 0.8812 GB, free: 81.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/1.187, allocations: 16.78 kB / 0.8812 GB, free: 81.49 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003272/1.187, allocations: 303.1 kB / 0.8815 GB, free: 81.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.187, allocations: 0 / 0.8815 GB, free: 81.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001596/1.189, allocations: 0.6691 MB / 0.8822 GB, free: 81.4 MB / 490.7 MB 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 (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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.001748/1.191, allocations: 1.2 MB / 0.8834 GB, free: 81.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002033/1.193, allocations: 0.7301 MB / 0.8841 GB, free: 81.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.193, allocations: 2.531 kB / 0.8841 GB, free: 81.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/1.194, allocations: 463.9 kB / 0.8845 GB, free: 81.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/1.195, allocations: 265.1 kB / 0.8848 GB, free: 81.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/1.196, allocations: 1.027 MB / 0.8858 GB, free: 80.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/1.197, allocations: 0.8041 MB / 0.8866 GB, free: 80.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001922/1.197, allocations: 47.28 kB / 0.8866 GB, free: 80.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/1.197, allocations: 36.22 kB / 0.8866 GB, free: 80.17 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/1.197, allocations: 0 / 0.8866 GB, free: 80.17 MB / 490.7 MB Notification: Performance of Templates: time 0.03137/1.228, allocations: 26.78 MB / 0.9128 GB, free: 79.28 MB / 490.7 MB 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)