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.0009623/0.0009623, allocations: 175 kB / 12.73 MB, free: 2.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.226/1.226, allocations: 221.4 MB / 234.6 MB, free: 14.39 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.0008776/0.0008778, allocations: 91.31 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3297/0.3297, allocations: 37.06 MB / 373.6 MB, free: 45.89 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.329e-05/2.331e-05, allocations: 4 kB / 441.5 MB, free: 15.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1183, allocations: 60.08 MB / 0.4898 GB, free: 3.285 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7057/0.824, allocations: 207 MB / 0.692 GB, free: 112.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.8243, allocations: 78.06 kB / 0.6921 GB, free: 112.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3094/1.134, allocations: 160.5 MB / 0.8488 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.373e-06/1.134, allocations: 0 / 0.8488 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.207e-05/1.134, allocations: 8 kB / 0.8488 GB, free: 9.09 MB / 0.4948 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.002577/1.136, allocations: 0.9539 MB / 0.8497 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/1.136, allocations: 8.031 kB / 0.8497 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/1.137, allocations: 47.38 kB / 0.8497 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/1.138, allocations: 0.5737 MB / 0.8503 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/1.138, allocations: 20.56 kB / 0.8503 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-05/1.138, allocations: 23.95 kB / 0.8503 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/1.139, allocations: 0.6799 MB / 0.851 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.139, allocations: 0 / 0.851 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-05/1.139, allocations: 8 kB / 0.851 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/1.139, allocations: 8 kB / 0.851 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/1.141, allocations: 0.9664 MB / 0.852 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/1.143, allocations: 1.535 MB / 0.8535 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005896/1.144, allocations: 350.7 kB / 0.8538 GB, free: 3.754 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004716/1.144, allocations: 316.7 kB / 0.8541 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002294/1.145, allocations: 133 kB / 0.8542 GB, free: 3.293 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/1.145, allocations: 40.69 kB / 0.8543 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001297/1.146, allocations: 271.5 kB / 0.8545 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 5.19e-06/1.146, allocations: 0 / 0.8545 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31): time 0.002052/1.148, allocations: 0.916 MB / 0.8554 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/1.148, allocations: 55.41 kB / 0.8555 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004963/1.149, allocations: 411.6 kB / 0.8559 GB, free: 1.582 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/1.149, allocations: 29.7 kB / 0.8559 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/1.149, allocations: 172.7 kB / 0.8561 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.37e-05/1.149, allocations: 110.5 kB / 0.8562 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/1.149, allocations: 8 kB / 0.8562 GB, free: 1.258 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.149, allocations: 350.7 kB / 0.8565 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/1.149, allocations: 219.9 kB / 0.8567 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/1.15, allocations: 231.9 kB / 0.8569 GB, free: 476 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/1.15, allocations: 256.6 kB / 0.8572 GB, free: 220 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.15, allocations: 0 / 0.8572 GB, free: 220 kB / 0.4948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002452/1.152, allocations: 1.005 MB / 0.8582 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/1.153, allocations: 4 kB / 0.8582 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/1.153, allocations: 0 / 0.8582 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08802/1.241, allocations: 10.97 MB / 0.8689 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.981e-05/1.241, allocations: 4 kB / 0.8689 GB, free: 4.207 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003051/1.244, allocations: 1.503 MB / 0.8704 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/1.244, allocations: 8 kB / 0.8704 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.067e-05/1.244, allocations: 27.95 kB / 0.8704 GB, free: 2.645 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 () * 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.0001325/1.244, allocations: 112.9 kB / 0.8705 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.373e-05/1.245, allocations: 43.53 kB / 0.8705 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/1.247, allocations: 1.138 MB / 0.8716 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/1.247, allocations: 4 kB / 0.8717 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/1.247, allocations: 0 / 0.8717 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/1.247, allocations: 0 / 0.8717 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2858/1.533, allocations: 1.76 MB / 0.8734 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/1.533, allocations: 0 / 0.8734 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.18e-05/1.533, allocations: 7.5 kB / 0.8734 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005188/1.538, allocations: 1.406 MB / 0.8748 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-05/1.538, allocations: 8.094 kB / 0.8748 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002178/1.54, allocations: 1.546 MB / 0.8763 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.54, allocations: 0.9375 kB / 0.8763 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/1.542, allocations: 0.9731 MB / 0.8772 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/1.542, allocations: 180.1 kB / 0.8774 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.155e-05/1.542, allocations: 7.578 kB / 0.8774 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/1.542, allocations: 14.03 kB / 0.8774 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/1.543, allocations: 21.78 kB / 0.8774 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-05/1.543, allocations: 17.44 kB / 0.8775 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004727/1.543, allocations: 332.3 kB / 0.8778 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/1.543, allocations: 0 / 0.8778 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002014/1.545, allocations: 0.6749 MB / 0.8784 GB, free: 108.2 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 () * 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.002483/1.548, allocations: 1.217 MB / 0.8796 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002326/1.55, allocations: 0.7124 MB / 0.8803 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/1.55, allocations: 3.75 kB / 0.8803 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/1.551, allocations: 472 kB / 0.8808 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/1.552, allocations: 264.7 kB / 0.881 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009487/1.553, allocations: 0.6236 MB / 0.8816 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/1.554, allocations: 0.8289 MB / 0.8824 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002072/1.554, allocations: 55.97 kB / 0.8825 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.757e-05/1.554, allocations: 32.72 kB / 0.8825 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/1.554, allocations: 0 / 0.8825 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.03435/1.588, allocations: 26.91 MB / 0.9088 GB, free: 106.4 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)