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.1076/0.1076, allocations: 15.25 MB / 27.81 MB, free: 5.398 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.001158/0.001158, allocations: 188.4 kB / 32.69 MB, free: 0.5195 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.319/1.319, allocations: 221.4 MB / 258.8 MB, free: 8 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00091/0.0009099, allocations: 101.6 kB / 314 MB, free: 15.76 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.031e-05/3.033e-05, allocations: 4 kB / 376.6 MB, free: 1.344 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2968, allocations: 54.61 MB / 431.2 MB, free: 50.1 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.4252, allocations: 102.9 MB / 0.5216 GB, free: 12.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.4254, allocations: 68.95 kB / 0.5216 GB, free: 12.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1513/0.5767, allocations: 58.89 MB / 0.5791 GB, free: 1.508 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5767, allocations: 0 / 0.5791 GB, free: 1.508 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.909e-05/0.5768, allocations: 24 kB / 0.5792 GB, free: 1.484 MB / 442.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.2454/0.8223, allocations: 1.647 MB / 0.5808 GB, free: 91.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.8223, allocations: 9.281 kB / 0.5808 GB, free: 91.59 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007202/0.8231, allocations: 178.7 kB / 0.5809 GB, free: 91.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/0.825, allocations: 425.7 kB / 0.5813 GB, free: 91.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.8267, allocations: 0.8152 MB / 0.5821 GB, free: 91.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/0.8267, allocations: 100 kB / 0.5822 GB, free: 91.22 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/0.8269, allocations: 122.5 kB / 0.5824 GB, free: 91.22 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00342/0.8304, allocations: 2.369 MB / 0.5847 GB, free: 91.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.8304, allocations: 5.125 kB / 0.5847 GB, free: 91.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.8305, allocations: 48.56 kB / 0.5847 GB, free: 91.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.8306, allocations: 30.81 kB / 0.5847 GB, free: 91.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004726/0.8353, allocations: 3.583 MB / 0.5882 GB, free: 91.08 MB / 442.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.01042/0.8458, allocations: 6.518 MB / 0.5946 GB, free: 89.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003641/0.8494, allocations: 2.758 MB / 0.5973 GB, free: 89.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.8506, allocations: 0.946 MB / 0.5982 GB, free: 89.31 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005165/0.8512, allocations: 342.2 kB / 0.5986 GB, free: 89.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.8512, allocations: 42.69 kB / 0.5986 GB, free: 89.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=128): time 3.988e-06/0.8512, allocations: 2.438 kB / 0.5986 GB, free: 89.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=179): time 0.02752/0.8787, allocations: 8.465 MB / 0.6069 GB, free: 88.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005776/0.8846, allocations: 2.855 MB / 0.6097 GB, free: 86.69 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.8858, allocations: 1.173 MB / 0.6108 GB, free: 86.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003115/0.8862, allocations: 58.06 kB / 0.6109 GB, free: 86.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.8864, allocations: 0.522 MB / 0.6114 GB, free: 85.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004373/0.8869, allocations: 0.5957 MB / 0.6119 GB, free: 85.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.887, allocations: 35.47 kB / 0.612 GB, free: 85.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.8871, allocations: 427.1 kB / 0.6124 GB, free: 84.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.8886, allocations: 1.311 MB / 0.6137 GB, free: 84.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.8902, allocations: 1.561 MB / 0.6152 GB, free: 83.65 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/0.8919, allocations: 1.44 MB / 0.6166 GB, free: 83.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.8919, allocations: 3.688 kB / 0.6166 GB, free: 83.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.006324/0.8982, allocations: 3.576 MB / 0.6201 GB, free: 81.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.8983, allocations: 5.406 kB / 0.6201 GB, free: 81.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.8983, allocations: 11.23 kB / 0.6201 GB, free: 81.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/0.9009, allocations: 438 kB / 0.6205 GB, free: 81.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.9024, allocations: 406.9 kB / 0.6209 GB, free: 81.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005303/0.9077, allocations: 4.336 MB / 0.6252 GB, free: 77.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.9098, allocations: 187.2 kB / 0.6253 GB, free: 77.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002494/0.9101, allocations: 87.78 kB / 0.6254 GB, free: 77.89 MB / 442.7 MB 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 (211): * Single equations (assignments): 206 * 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.0003398/0.9104, allocations: 202 kB / 0.6256 GB, free: 77.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/0.9108, allocations: 117.9 kB / 0.6257 GB, free: 77.67 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009182/0.92, allocations: 3.622 MB / 0.6293 GB, free: 76.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007588/0.9276, allocations: 3.235 MB / 0.6324 GB, free: 75.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.9276, allocations: 0 / 0.6324 GB, free: 75.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/0.9277, allocations: 11.16 kB / 0.6324 GB, free: 75.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/0.9409, allocations: 8.121 MB / 0.6404 GB, free: 72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/0.941, allocations: 11.72 kB / 0.6404 GB, free: 72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.9421, allocations: 315 kB / 0.6407 GB, free: 71.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004982/0.9471, allocations: 0.9431 MB / 0.6416 GB, free: 71.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.9473, allocations: 64.47 kB / 0.6416 GB, free: 71.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00869/0.956, allocations: 6.389 MB / 0.6479 GB, free: 67.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005414/0.9615, allocations: 2.462 MB / 0.6503 GB, free: 65.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009898/0.9714, allocations: 5.548 MB / 0.6557 GB, free: 62.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007502/0.9722, allocations: 237.5 kB / 0.6559 GB, free: 62.56 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004337/0.9726, allocations: 50.12 kB / 0.656 GB, free: 62.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/0.9742, allocations: 124.4 kB / 0.6561 GB, free: 62.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000326/0.9745, allocations: 167.1 kB / 0.6563 GB, free: 62.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001577/0.9747, allocations: 77.23 kB / 0.6563 GB, free: 62.44 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00109/0.9758, allocations: 0.9275 MB / 0.6572 GB, free: 61.58 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.042e-06/0.9758, allocations: 0 / 0.6572 GB, free: 61.58 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00387/0.9797, allocations: 1.17 MB / 0.6584 GB, free: 60.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * 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 (172): * Single equations (assignments): 169 * 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.01215/0.9918, allocations: 10.17 MB / 0.6683 GB, free: 51.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004236/0.9961, allocations: 3.05 MB / 0.6713 GB, free: 48.19 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/0.9962, allocations: 0 / 0.6713 GB, free: 48.19 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002514/0.9987, allocations: 1.765 MB / 0.673 GB, free: 46.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/1, allocations: 259.9 kB / 0.6733 GB, free: 46.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006236/1.007, allocations: 3.331 MB / 0.6765 GB, free: 43.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007539/1.007, allocations: 1.227 MB / 0.6777 GB, free: 42.22 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00127/1.009, allocations: 270.8 kB / 0.678 GB, free: 42.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009286/1.01, allocations: 0.5754 MB / 0.6785 GB, free: 41.51 MB / 442.7 MB Notification: Performance of SimCode: time 7.71e-07/1.01, allocations: 0 / 0.6785 GB, free: 41.51 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07534/1.085, allocations: 50.55 MB / 0.7279 GB, free: 12.48 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/1.085, allocations: 165.5 kB / 0.7281 GB, free: 12.25 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.631/4.716, allocations: 0 / 0.7281 GB, free: 12.25 MB / 458.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)