Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_blood.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) 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: "" <> buildModelFMU(Chemical.Examples.GasSolubility_blood,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_blood",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_blood,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_blood",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.09068/0.09068, allocations: 15.26 MB / 22.73 MB, free: 0.9414 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009729/0.0009732, allocations: 188.9 kB / 27.52 MB, free: 6.105 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.298/1.298, allocations: 221.5 MB / 253.7 MB, free: 10.32 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.0008271/0.0008272, allocations: 86.66 kB / 308.7 MB, free: 10.48 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.416e-05/1.425e-05, allocations: 2.688 kB / 369.7 MB, free: 53.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07814/0.07817, allocations: 54.64 MB / 424.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3274/0.4056, allocations: 102.2 MB / 0.5142 GB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/0.4059, allocations: 64.5 kB / 0.5142 GB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1222/0.5281, allocations: 58.05 MB / 0.5709 GB, free: 5.664 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5282, allocations: 192 / 0.5709 GB, free: 5.664 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.484e-05/0.5282, allocations: 28 kB / 0.571 GB, free: 5.637 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.002751/0.531, allocations: 1.643 MB / 0.5726 GB, free: 3.949 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.531, allocations: 12.02 kB / 0.5726 GB, free: 3.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.5323, allocations: 429.3 kB / 0.573 GB, free: 3.516 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.5335, allocations: 0.827 MB / 0.5738 GB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.636e-05/0.5335, allocations: 40 kB / 0.5738 GB, free: 2.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.5337, allocations: 75.91 kB / 0.5739 GB, free: 2.547 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003749/0.5375, allocations: 3.512 MB / 0.5773 GB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.5396, allocations: 1.712 MB / 0.579 GB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.5397, allocations: 0 / 0.579 GB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.361e-05/0.5398, allocations: 0 / 0.579 GB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.5398, allocations: 32 kB / 0.579 GB, free: 13.25 MB / 394.7 MB 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.008101/0.5479, allocations: 6.312 MB / 0.5852 GB, free: 6.824 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/0.5509, allocations: 2.705 MB / 0.5878 GB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009083/0.5518, allocations: 0.9157 MB / 0.5887 GB, free: 3.133 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004048/0.5522, allocations: 331.7 kB / 0.5891 GB, free: 2.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.5523, allocations: 55.81 kB / 0.5891 GB, free: 2.754 MB / 394.7 MB Notification: Performance of pre-optimization done (n=128): time 3.036e-06/0.5523, allocations: 0 / 0.5891 GB, free: 2.754 MB / 394.7 MB Notification: Performance of matching and sorting (n=174): time 0.02521/0.5775, allocations: 8.396 MB / 0.5973 GB, free: 10.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.5775, allocations: 68.72 kB / 0.5974 GB, free: 10.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.5786, allocations: 1.089 MB / 0.5984 GB, free: 9.168 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.344e-05/0.5787, allocations: 25.7 kB / 0.5985 GB, free: 9.137 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/0.579, allocations: 0.5156 MB / 0.599 GB, free: 8.609 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003778/0.5794, allocations: 0.5657 MB / 0.5995 GB, free: 8.035 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.018e-05/0.5794, allocations: 0 / 0.5995 GB, free: 8.035 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.5796, allocations: 418.7 kB / 0.5999 GB, free: 7.617 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.581, allocations: 1.257 MB / 0.6011 GB, free: 6.359 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/0.5826, allocations: 1.49 MB / 0.6026 GB, free: 4.801 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003333/0.5859, allocations: 1.729 MB / 0.6043 GB, free: 3.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.5859, allocations: 0 / 0.6043 GB, free: 3.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.007512/0.5934, allocations: 3.733 MB / 0.6079 GB, free: 15.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.5935, allocations: 10.03 kB / 0.6079 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.5935, allocations: 4 kB / 0.6079 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002385/0.5959, allocations: 398.3 kB / 0.6083 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.5972, allocations: 395.4 kB / 0.6087 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005114/0.6024, allocations: 4.211 MB / 0.6128 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.604, allocations: 143.8 kB / 0.613 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/0.6042, allocations: 103.7 kB / 0.6131 GB, free: 9.809 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_unbound_plasma.solution.n:DUMMY_STATE(flow=false min = 0.0 max = 0.0 unit = "mol" ) "Amount of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_unbound_plasma.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 201 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 2 {1 8,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002745/0.6044, allocations: 136.7 kB / 0.6132 GB, free: 9.668 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008679/0.6131, allocations: 3.421 MB / 0.6165 GB, free: 6.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.6133, allocations: 114.5 kB / 0.6166 GB, free: 6.117 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009182/0.6225, allocations: 3.688 MB / 0.6202 GB, free: 2.402 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008353/0.6309, allocations: 3.338 MB / 0.6235 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.6309, allocations: 3.953 kB / 0.6235 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.6309, allocations: 11.97 kB / 0.6235 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/0.6442, allocations: 7.925 MB / 0.6312 GB, free: 6.957 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.6442, allocations: 12 kB / 0.6313 GB, free: 6.945 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009993/0.6452, allocations: 303.5 kB / 0.6316 GB, free: 6.648 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004599/0.6498, allocations: 0.8958 MB / 0.6324 GB, free: 5.742 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.072e-05/0.6499, allocations: 39.92 kB / 0.6325 GB, free: 5.703 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009047/0.659, allocations: 6.417 MB / 0.6387 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005235/0.6643, allocations: 2.372 MB / 0.641 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009975/0.6742, allocations: 5.577 MB / 0.6465 GB, free: 6.535 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003739/0.6746, allocations: 227.6 kB / 0.6467 GB, free: 6.293 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.6748, allocations: 23.98 kB / 0.6467 GB, free: 6.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.6758, allocations: 87.78 kB / 0.6468 GB, free: 6.184 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/0.6761, allocations: 164.9 kB / 0.647 GB, free: 6.023 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-05/0.6762, allocations: 71.97 kB / 0.647 GB, free: 5.953 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008362/0.677, allocations: 0.8506 MB / 0.6479 GB, free: 5.105 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.677, allocations: 0 / 0.6479 GB, free: 5.105 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002749/0.6798, allocations: 1.144 MB / 0.649 GB, free: 3.961 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 5 ($STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 164 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 2 {1 8,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01271/0.6925, allocations: 10.02 MB / 0.6588 GB, free: 9.672 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003806/0.6963, allocations: 2.891 MB / 0.6616 GB, free: 6.762 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.6963, allocations: 4.375 kB / 0.6616 GB, free: 6.758 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002375/0.6987, allocations: 1.673 MB / 0.6632 GB, free: 5.066 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.7, allocations: 225.5 kB / 0.6635 GB, free: 4.852 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009987/0.71, allocations: 3.103 MB / 0.6665 GB, free: 1.566 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002323/0.7124, allocations: 1.217 MB / 0.6677 GB, free: 324 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002046/0.7144, allocations: 257.2 kB / 0.6679 GB, free: 64 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2018/0.9163, allocations: 0.5736 MB / 0.6685 GB, free: 122 MB / 474.7 MB Notification: Performance of SimCode: time 1.082e-06/0.9163, allocations: 0 / 0.6685 GB, free: 122 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06988/0.9862, allocations: 45.21 MB / 0.7126 GB, free: 119.2 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001222/0.9864, allocations: 117.6 kB / 0.7127 GB, free: 119 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.222/4.208, allocations: 0 / 0.7127 GB, free: 119 MB / 474.7 MB (rm -f Chemical_Chemical.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_blood.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_blood.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_GasSolubility_blood_fmu --startTime=0 --stopTime=1e-05 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_GasSolubility_blood.fmu > Chemical_Chemical.Examples.GasSolubility_blood.pipe 2>&1)