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.001126/0.001126, allocations: 174.6 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.27/1.27, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.0008156/0.0008158, allocations: 89.36 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3798/0.3798, allocations: 37.07 MB / 373.6 MB, free: 45.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.439e-05/3.441e-05, allocations: 4 kB / 441.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1409, allocations: 60.09 MB / 0.4898 GB, free: 3.301 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4772/0.6182, allocations: 171.4 MB / 0.6573 GB, free: 1.16 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.6184, allocations: 71.97 kB / 0.6573 GB, free: 1.09 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.792/2.411, allocations: 438.5 MB / 1.086 GB, free: 36.13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.212e-06/2.411, allocations: 1.156 kB / 1.086 GB, free: 36.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001007/2.411, allocations: 41.66 kB / 1.086 GB, free: 36.13 MB / 0.5261 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.00708/2.418, allocations: 3.422 MB / 1.089 GB, free: 34.94 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/2.418, allocations: 10.22 kB / 1.089 GB, free: 34.94 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003872/2.418, allocations: 176.8 kB / 1.089 GB, free: 34.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00438/2.423, allocations: 2.622 MB / 1.092 GB, free: 34.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.524e-05/2.423, allocations: 78.53 kB / 1.092 GB, free: 34.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/2.423, allocations: 109.2 kB / 1.092 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/2.425, allocations: 1.375 MB / 1.093 GB, free: 34.37 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/2.425, allocations: 1.312 kB / 1.093 GB, free: 34.37 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/2.425, allocations: 49.56 kB / 1.093 GB, free: 34.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/2.425, allocations: 23.72 kB / 1.093 GB, free: 34.37 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/2.427, allocations: 1.381 MB / 1.095 GB, free: 34.36 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.007422/2.434, allocations: 6.535 MB / 1.101 GB, free: 31.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/2.436, allocations: 1.687 MB / 1.103 GB, free: 31.35 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008611/2.437, allocations: 0.6699 MB / 1.103 GB, free: 31.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004615/2.441, allocations: 3.827 MB / 1.107 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/2.441, allocations: 44.39 kB / 1.107 GB, free: 29.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=65): time 1.814e-06/2.441, allocations: 2.938 kB / 1.107 GB, free: 29.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65): time 0.002089/2.444, allocations: 1.299 MB / 1.108 GB, free: 29.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/2.444, allocations: 59.41 kB / 1.108 GB, free: 29.33 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003207/2.447, allocations: 2.512 MB / 1.111 GB, free: 29.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.296e-05/2.447, allocations: 41.33 kB / 1.111 GB, free: 29.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/2.447, allocations: 0.7041 MB / 1.112 GB, free: 28.85 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/2.447, allocations: 240.5 kB / 1.112 GB, free: 28.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/2.448, allocations: 18.44 kB / 1.112 GB, free: 28.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.466e-05/2.448, allocations: 346.7 kB / 1.112 GB, free: 28.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007098/2.448, allocations: 0.5304 MB / 1.113 GB, free: 28.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009272/2.449, allocations: 0.8999 MB / 1.114 GB, free: 27.95 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008522/2.45, allocations: 0.6224 MB / 1.114 GB, free: 27.93 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/2.45, allocations: 2.219 kB / 1.114 GB, free: 27.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002721/2.453, allocations: 1.746 MB / 1.116 GB, free: 27.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/2.453, allocations: 13.48 kB / 1.116 GB, free: 27.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/2.453, allocations: 10.41 kB / 1.116 GB, free: 27.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004723/2.453, allocations: 195.2 kB / 1.116 GB, free: 27.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/2.455, allocations: 304.4 kB / 1.116 GB, free: 27.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/2.456, allocations: 2.77 MB / 1.119 GB, free: 25.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/2.458, allocations: 248.3 kB / 1.119 GB, free: 25.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/2.458, allocations: 77.17 kB / 1.119 GB, free: 25.06 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 () * 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.000167/2.458, allocations: 165 kB / 1.12 GB, free: 24.95 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/2.458, allocations: 132.8 kB / 1.12 GB, free: 24.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/2.46, allocations: 1.454 MB / 1.121 GB, free: 24.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/2.46, allocations: 7.75 kB / 1.121 GB, free: 24.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/2.46, allocations: 3.375 kB / 1.121 GB, free: 24.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/2.46, allocations: 3.422 kB / 1.121 GB, free: 24.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/2.462, allocations: 1.6 MB / 1.123 GB, free: 24.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/2.462, allocations: 2.469 kB / 1.123 GB, free: 24.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007498/2.463, allocations: 195.8 kB / 1.123 GB, free: 24.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002805/2.463, allocations: 174.1 kB / 1.123 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-05/2.463, allocations: 24.69 kB / 1.123 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009483/2.464, allocations: 2.758 MB / 1.126 GB, free: 21.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/2.464, allocations: 0 / 1.126 GB, free: 21.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00307/2.467, allocations: 2.211 MB / 1.128 GB, free: 21.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/2.469, allocations: 0.6701 MB / 1.129 GB, free: 21.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002789/2.469, allocations: 17.25 kB / 1.129 GB, free: 21.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/2.47, allocations: 140.2 kB / 1.129 GB, free: 21.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/2.471, allocations: 54.23 kB / 1.129 GB, free: 21.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.191e-05/2.471, allocations: 47.92 kB / 1.129 GB, free: 21.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002704/2.473, allocations: 2.001 MB / 1.131 GB, free: 21.31 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.11e-07/2.473, allocations: 1.781 kB / 1.131 GB, free: 21.31 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004886/2.478, allocations: 1.871 MB / 1.133 GB, free: 20.91 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 () * 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.005089/2.483, allocations: 2.81 MB / 1.135 GB, free: 20.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001749/2.485, allocations: 1.147 MB / 1.136 GB, free: 20.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/2.485, allocations: 0 / 1.136 GB, free: 20.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008237/2.486, allocations: 0.5452 MB / 1.137 GB, free: 20.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/2.488, allocations: 452.8 kB / 1.137 GB, free: 20.34 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/2.492, allocations: 2.445 MB / 1.14 GB, free: 19.78 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/2.492, allocations: 1.25 MB / 1.141 GB, free: 19.07 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001286/2.493, allocations: 445.7 kB / 1.141 GB, free: 19.06 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007138/2.494, allocations: 170.3 kB / 1.142 GB, free: 19.05 MB / 0.5261 GB Notification: Performance of SimCode: time 1.102e-06/2.494, allocations: 0 / 1.142 GB, free: 19.05 MB / 0.5261 GB Notification: Performance of Templates: time 0.07521/2.569, allocations: 64.65 MB / 1.205 GB, free: 14.85 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)