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: "" <> buildModelFMU(Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_CardiovascularSystem_GCG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_CardiovascularSystem_GCG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01001/0.01001, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.55/1.55, allocations: 223.2 MB / 239 MB, free: 1.77 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.001075/0.001075, allocations: 100.3 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.2234/0.2234, allocations: 37.08 MB / 378.4 MB, free: 5.691 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004029, allocations: 12 kB / 449.1 MB, free: 61.57 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1181, allocations: 60.08 MB / 0.4972 GB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4646/0.5828, allocations: 171.5 MB / 0.6647 GB, free: 15.28 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.5831, allocations: 85.64 kB / 0.6648 GB, free: 15.23 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.608/2.191, allocations: 439.7 MB / 1.094 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.497e-06/2.191, allocations: 4 kB / 1.094 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002211/2.192, allocations: 43.92 kB / 1.094 GB, free: 25.54 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.01343/2.205, allocations: 3.993 MB / 1.098 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/2.205, allocations: 16.02 kB / 1.098 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006981/2.206, allocations: 152 kB / 1.098 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009888/2.207, allocations: 170.6 kB / 1.098 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005506/2.212, allocations: 2.65 MB / 1.101 GB, free: 18.44 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/2.212, allocations: 85.95 kB / 1.101 GB, free: 18.35 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004298/2.213, allocations: 103.9 kB / 1.101 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003065/2.216, allocations: 1.432 MB / 1.103 GB, free: 16.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/2.216, allocations: 0 / 1.103 GB, free: 16.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/2.216, allocations: 48 kB / 1.103 GB, free: 16.72 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/2.216, allocations: 24 kB / 1.103 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/2.219, allocations: 1.487 MB / 1.104 GB, free: 15.21 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.009242/2.228, allocations: 6.534 MB / 1.11 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/2.23, allocations: 1.778 MB / 1.112 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00499/2.235, allocations: 3.719 MB / 1.116 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/2.235, allocations: 39.12 kB / 1.116 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=65): time 2.444e-06/2.235, allocations: 0 / 1.116 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65): time 0.004077/2.239, allocations: 2.335 MB / 1.118 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/2.239, allocations: 67.91 kB / 1.118 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00457/2.244, allocations: 2.54 MB / 1.121 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000237/2.244, allocations: 37.7 kB / 1.121 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007367/2.245, allocations: 0.6986 MB / 1.121 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004541/2.245, allocations: 240.5 kB / 1.122 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/2.246, allocations: 20 kB / 1.122 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001532/2.246, allocations: 349.9 kB / 1.122 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/2.247, allocations: 0.5803 MB / 1.123 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/2.248, allocations: 0.9441 MB / 1.124 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/2.25, allocations: 0.6628 MB / 1.124 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.489e-05/2.25, allocations: 7.953 kB / 1.124 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.004208/2.254, allocations: 1.845 MB / 1.126 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/2.254, allocations: 14.56 kB / 1.126 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/2.254, allocations: 15.98 kB / 1.126 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005268/2.254, allocations: 184.1 kB / 1.126 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/2.256, allocations: 307.5 kB / 1.126 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/2.258, allocations: 2.774 MB / 1.129 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/2.26, allocations: 238.9 kB / 1.129 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002091/2.26, allocations: 79.91 kB / 1.129 GB, free: 4.039 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.000853/2.261, allocations: 357.4 kB / 1.13 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005779/2.262, allocations: 138.3 kB / 1.13 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003265/2.265, allocations: 1.542 MB / 1.131 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/2.265, allocations: 8 kB / 1.131 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/2.265, allocations: 3.938 kB / 1.131 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/2.265, allocations: 7.938 kB / 1.131 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/2.268, allocations: 1.601 MB / 1.133 GB, free: 304 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/2.268, allocations: 0 / 1.133 GB, free: 304 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008434/2.269, allocations: 195.7 kB / 1.133 GB, free: 108 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3506/2.619, allocations: 171.3 kB / 1.133 GB, free: 49.03 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004428/2.62, allocations: 28.44 kB / 1.133 GB, free: 49.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/2.622, allocations: 2.746 MB / 1.136 GB, free: 46.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/2.622, allocations: 0 / 1.136 GB, free: 46.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005115/2.627, allocations: 2.349 MB / 1.138 GB, free: 46.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/2.629, allocations: 0.6667 MB / 1.139 GB, free: 46.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002994/2.629, allocations: 17.92 kB / 1.139 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/2.63, allocations: 150.5 kB / 1.139 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/2.631, allocations: 55.53 kB / 1.139 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/2.631, allocations: 45.97 kB / 1.139 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003007/2.634, allocations: 2.03 MB / 1.141 GB, free: 46.01 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.094e-06/2.634, allocations: 1.531 kB / 1.141 GB, free: 46.01 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005063/2.639, allocations: 1.873 MB / 1.143 GB, free: 46 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.01094/2.65, allocations: 5.31 MB / 1.148 GB, free: 45.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002553/2.652, allocations: 1.243 MB / 1.15 GB, free: 45.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/2.652, allocations: 3.531 kB / 1.15 GB, free: 45.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/2.654, allocations: 0.5851 MB / 1.15 GB, free: 45.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/2.656, allocations: 462.9 kB / 1.151 GB, free: 45.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02395/2.68, allocations: 20.91 MB / 1.171 GB, free: 34.58 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007685/2.681, allocations: 1.243 MB / 1.172 GB, free: 33.87 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001649/2.682, allocations: 440.1 kB / 1.173 GB, free: 33.86 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/2.684, allocations: 0.6047 MB / 1.173 GB, free: 33.85 MB / 0.5261 GB Notification: Performance of SimCode: time 1.133e-06/2.684, allocations: 0 / 1.173 GB, free: 33.85 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1064/2.79, allocations: 79.07 MB / 1.25 GB, free: 28.74 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/2.79, allocations: 213.9 kB / 1.251 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.441/7.231, allocations: 0 / 1.251 GB, free: 28.5 MB / 0.5261 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Fluid_Examples_CardiovascularSystem_GCG_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Fluid_Examples_CardiovascularSystem_GCG.fmu > Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.pipe 2>&1)