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/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.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/Chemical 1.4.0-master/package.mo): time 0.07591/0.07591, allocations: 15.26 MB / 31.21 MB, free: 3.223 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.0008896/0.0008896, allocations: 166.5 kB / 36.29 MB, free: 2.266 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.303/1.303, allocations: 223.3 MB / 264.5 MB, free: 6.379 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.0008688/0.0008688, allocations: 98.19 kB / 319.9 MB, free: 3.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.1041/0.1041, allocations: 20.56 MB / 395.8 MB, free: 43.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005007/0.0005008, allocations: 16 kB / 467.6 MB, free: 4.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2672, allocations: 59.78 MB / 0.515 GB, free: 41.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/0.4305, allocations: 166.6 MB / 0.6777 GB, free: 2.547 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.4308, allocations: 79.97 kB / 0.6778 GB, free: 2.469 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.055/1.486, allocations: 333.7 MB / 1.004 GB, free: 70.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.854e-06/1.486, allocations: 0 / 1.004 GB, free: 70.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001376/1.486, allocations: 39.73 kB / 1.004 GB, free: 70.96 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.007131/1.493, allocations: 3.043 MB / 1.007 GB, free: 69.26 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/1.493, allocations: 9.969 kB / 1.007 GB, free: 69.26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005953/1.494, allocations: 168.9 kB / 1.007 GB, free: 69.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004149/1.498, allocations: 2.608 MB / 1.009 GB, free: 68.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.778e-05/1.498, allocations: 77.97 kB / 1.009 GB, free: 68.01 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002374/1.498, allocations: 107.9 kB / 1.01 GB, free: 67.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/1.501, allocations: 1.408 MB / 1.011 GB, free: 67.43 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/1.501, allocations: 3.938 kB / 1.011 GB, free: 67.43 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/1.501, allocations: 44.12 kB / 1.011 GB, free: 67.39 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/1.501, allocations: 24.06 kB / 1.011 GB, free: 67.39 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/1.503, allocations: 1.473 MB / 1.012 GB, free: 66.96 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.007466/1.51, allocations: 6.145 MB / 1.018 GB, free: 62.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/1.512, allocations: 1.649 MB / 1.02 GB, free: 61.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009951/1.513, allocations: 0.6783 MB / 1.021 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004153/1.517, allocations: 3.648 MB / 1.024 GB, free: 57.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/1.517, allocations: 43.06 kB / 1.024 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=66): time 2.014e-06/1.517, allocations: 4 kB / 1.024 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=66): time 0.003497/1.521, allocations: 2.254 MB / 1.026 GB, free: 55.01 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/1.521, allocations: 55.97 kB / 1.027 GB, free: 54.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003266/1.524, allocations: 2.628 MB / 1.029 GB, free: 52.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.316e-05/1.524, allocations: 41.7 kB / 1.029 GB, free: 52.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/1.525, allocations: 0.6554 MB / 1.03 GB, free: 51.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/1.525, allocations: 240.6 kB / 1.03 GB, free: 51.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.109e-05/1.525, allocations: 20 kB / 1.03 GB, free: 51.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.05e-05/1.525, allocations: 348.8 kB / 1.03 GB, free: 50.99 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008642/1.526, allocations: 0.5563 MB / 1.031 GB, free: 50.44 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009841/1.527, allocations: 0.8973 MB / 1.032 GB, free: 49.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/1.529, allocations: 1.424 MB / 1.033 GB, free: 47.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/1.529, allocations: 4 kB / 1.033 GB, free: 47.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002922/1.532, allocations: 1.747 MB / 1.035 GB, free: 46.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.532, allocations: 8.938 kB / 1.035 GB, free: 46.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/1.532, allocations: 15.94 kB / 1.035 GB, free: 46.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003427/1.532, allocations: 159.7 kB / 1.035 GB, free: 45.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009599/1.533, allocations: 295.5 kB / 1.035 GB, free: 45.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009892/1.534, allocations: 2.719 MB / 1.038 GB, free: 42.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/1.536, allocations: 238.8 kB / 1.038 GB, free: 42.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/1.536, allocations: 71.97 kB / 1.038 GB, free: 42.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (120): * Single equations (assignments): 115 * 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.0005008/1.536, allocations: 345.4 kB / 1.039 GB, free: 42.06 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/1.537, allocations: 122.4 kB / 1.039 GB, free: 41.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002403/1.539, allocations: 1.467 MB / 1.04 GB, free: 40.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/1.539, allocations: 7.938 kB / 1.04 GB, free: 40.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.539, allocations: 7.156 kB / 1.04 GB, free: 40.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/1.539, allocations: 3.984 kB / 1.04 GB, free: 40.43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/1.541, allocations: 1.544 MB / 1.042 GB, free: 38.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.541, allocations: 0 / 1.042 GB, free: 38.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006996/1.541, allocations: 191.7 kB / 1.042 GB, free: 38.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002506/1.542, allocations: 139.6 kB / 1.042 GB, free: 38.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.497e-05/1.542, allocations: 31.91 kB / 1.042 GB, free: 38.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009235/1.543, allocations: 2.707 MB / 1.045 GB, free: 35.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.543, allocations: 3.938 kB / 1.045 GB, free: 35.63 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003177/1.546, allocations: 2.209 MB / 1.047 GB, free: 33.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/1.547, allocations: 0.6552 MB / 1.047 GB, free: 32.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003082/1.547, allocations: 12 kB / 1.047 GB, free: 32.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/1.548, allocations: 131.8 kB / 1.048 GB, free: 32.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/1.549, allocations: 64.42 kB / 1.048 GB, free: 32.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-05/1.549, allocations: 44.06 kB / 1.048 GB, free: 32.47 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002332/1.551, allocations: 1.988 MB / 1.05 GB, free: 30.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/1.551, allocations: 0 / 1.05 GB, free: 30.48 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003957/1.555, allocations: 1.825 MB / 1.051 GB, free: 28.65 MB / 0.5105 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 (61): * Single equations (assignments): 56 * 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.004835/1.56, allocations: 2.608 MB / 1.054 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001962/1.562, allocations: 1.174 MB / 1.055 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.562, allocations: 0 / 1.055 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008549/1.563, allocations: 0.5692 MB / 1.056 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/1.564, allocations: 326.2 kB / 1.056 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/1.568, allocations: 3.32 MB / 1.059 GB, free: 20.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007104/1.569, allocations: 1.189 MB / 1.06 GB, free: 19.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001288/1.571, allocations: 407.8 kB / 1.061 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006947/1.571, allocations: 163.3 kB / 1.061 GB, free: 19 MB / 0.5105 GB Notification: Performance of SimCode: time 5.01e-07/1.571, allocations: 0 / 1.061 GB, free: 19 MB / 0.5105 GB Notification: Performance of Templates: time 0.2904/1.862, allocations: 60.08 MB / 1.12 GB, free: 80.78 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)