Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.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.CardiovascularSystem_GCG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG") translateModel(Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008176/0.008176, allocations: 172 kB / 15.11 MB, free: 5.969 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.41/1.41, allocations: 223.2 MB / 239 MB, free: 1.805 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009622/0.0009621, allocations: 105.7 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.2717/0.2717, allocations: 37.07 MB / 378.4 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004683/0.0004682, allocations: 12 kB / 449 MB, free: 61.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1464, allocations: 60.07 MB / 0.4971 GB, free: 1.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.516/0.6624, allocations: 171.5 MB / 0.6646 GB, free: 15.43 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.6628, allocations: 76.28 kB / 0.6647 GB, free: 15.39 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.695/2.358, allocations: 439.7 MB / 1.094 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.425e-06/2.358, allocations: 0 / 1.094 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002089/2.358, allocations: 43.98 kB / 1.094 GB, free: 25.75 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.0131/2.371, allocations: 3.977 MB / 1.098 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/2.371, allocations: 15.95 kB / 1.098 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/2.373, allocations: 174.6 kB / 1.098 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007153/2.38, allocations: 2.65 MB / 1.101 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/2.38, allocations: 77.95 kB / 1.101 GB, free: 18.74 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006503/2.381, allocations: 108 kB / 1.101 GB, free: 18.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003768/2.385, allocations: 1.428 MB / 1.102 GB, free: 17.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/2.385, allocations: 0 / 1.102 GB, free: 17.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/2.385, allocations: 40 kB / 1.102 GB, free: 17.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-05/2.385, allocations: 31.94 kB / 1.102 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002812/2.388, allocations: 1.483 MB / 1.104 GB, free: 15.6 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008913/2.397, allocations: 6.542 MB / 1.11 GB, free: 8.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/2.399, allocations: 1.787 MB / 1.112 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004699/2.403, allocations: 3.714 MB / 1.116 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/2.403, allocations: 43.12 kB / 1.116 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=65): time 2.024e-06/2.403, allocations: 0 / 1.116 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65): time 0.003619/2.407, allocations: 2.335 MB / 1.118 GB, free: 368 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/2.407, allocations: 59.97 kB / 1.118 GB, free: 296 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004011/2.411, allocations: 2.544 MB / 1.12 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001264/2.411, allocations: 37.7 kB / 1.121 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006057/2.412, allocations: 0.7024 MB / 1.121 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002938/2.412, allocations: 248.5 kB / 1.121 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.335e-05/2.412, allocations: 20 kB / 1.121 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001589/2.412, allocations: 345.9 kB / 1.122 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/2.413, allocations: 0.5803 MB / 1.122 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/2.415, allocations: 0.9558 MB / 1.123 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/2.416, allocations: 0.6551 MB / 1.124 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/2.416, allocations: 4 kB / 1.124 GB, free: 10 MB / 0.5261 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003748/2.42, allocations: 1.853 MB / 1.126 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/2.42, allocations: 8 kB / 1.126 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/2.42, allocations: 12.84 kB / 1.126 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004919/2.42, allocations: 192.1 kB / 1.126 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/2.421, allocations: 299.5 kB / 1.126 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/2.423, allocations: 2.781 MB / 1.129 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/2.425, allocations: 238.9 kB / 1.129 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/2.426, allocations: 79.91 kB / 1.129 GB, free: 4.391 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (124): * Single equations (assignments): 119 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007689/2.426, allocations: 345.4 kB / 1.13 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004213/2.427, allocations: 138.3 kB / 1.13 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/2.43, allocations: 1.546 MB / 1.131 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/2.43, allocations: 8 kB / 1.131 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/2.43, allocations: 0 / 1.131 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/2.43, allocations: 3.984 kB / 1.131 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/2.432, allocations: 1.601 MB / 1.133 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/2.432, allocations: 0 / 1.133 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007856/2.433, allocations: 195.7 kB / 1.133 GB, free: 484 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003776/2.434, allocations: 176.2 kB / 1.133 GB, free: 292 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-05/2.434, allocations: 23.98 kB / 1.133 GB, free: 268 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3693/2.803, allocations: 2.751 MB / 1.136 GB, free: 47.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/2.803, allocations: 2.312 kB / 1.136 GB, free: 47.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004849/2.808, allocations: 2.348 MB / 1.138 GB, free: 46.89 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002101/2.81, allocations: 0.6714 MB / 1.139 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000333/2.81, allocations: 13.75 kB / 1.139 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/2.812, allocations: 147.2 kB / 1.139 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/2.812, allocations: 58.78 kB / 1.139 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/2.812, allocations: 47.48 kB / 1.139 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003166/2.815, allocations: 2.035 MB / 1.141 GB, free: 46.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.82e-07/2.815, allocations: 0 / 1.141 GB, free: 46.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006621/2.822, allocations: 1.866 MB / 1.143 GB, free: 46.62 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (pulmonaryVeinsAndLeftAtrium.enthalpy,pulmonaryVeinsAndLeftAtrium.mass,pulmonaryArteries.enthalpy,pulmonaryArteries.mass,arteries.enthalpy,arteries.mass,veins.enthalpy,veins.mass,rightAtrium.enthalpy,rightAtrium.mass) * 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 (65): * Single equations (assignments): 60 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008864/2.831, allocations: 2.816 MB / 1.146 GB, free: 46.44 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003476/2.834, allocations: 1.235 MB / 1.147 GB, free: 46.44 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/2.834, allocations: 0.6875 kB / 1.147 GB, free: 46.44 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/2.836, allocations: 0.5932 MB / 1.147 GB, free: 46.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/2.838, allocations: 455 kB / 1.148 GB, free: 46.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004871/2.843, allocations: 3.454 MB / 1.151 GB, free: 45.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000811/2.844, allocations: 1.249 MB / 1.152 GB, free: 44.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001697/2.846, allocations: 443.5 kB / 1.153 GB, free: 44.42 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008317/2.846, allocations: 175.9 kB / 1.153 GB, free: 44.41 MB / 0.5261 GB Notification: Performance of SimCode: time 8.12e-07/2.846, allocations: 3.562 kB / 1.153 GB, free: 44.41 MB / 0.5261 GB Notification: Performance of Templates: time 0.08871/2.935, allocations: 62.93 MB / 1.214 GB, free: 40.22 MB / 0.5261 GB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.makefile (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.pipe 2>&1)