Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility.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.Chemical.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility") translateModel(Physiolibrary.Chemical.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 183.2 kB / 15.98 MB, free: 5.766 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.364/1.364, allocations: 222.9 MB / 239.7 MB, free: 11 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.001058/0.001058, allocations: 109.3 kB / 289.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3607/0.3607, allocations: 36.66 MB / 376.7 MB, free: 41.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 71.88 kB / 446.4 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1076, allocations: 58.91 MB / 0.4935 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.GasSolubility): time 0.2026/0.3102, allocations: 11.86 MB / 0.5051 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03278/0.3431, allocations: 32.61 MB / 0.5369 GB, free: 11.99 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003177/0.3463, allocations: 48.84 kB / 0.537 GB, free: 11.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002849/0.3491, allocations: 0.622 MB / 0.5376 GB, free: 11.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008352/0.3576, allocations: 2.235 MB / 0.5397 GB, free: 10.31 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01175/0.3694, allocations: 3.763 MB / 0.5434 GB, free: 8.086 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003712/0.3731, allocations: 2.894 MB / 0.5462 GB, free: 6.715 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00199/0.3751, allocations: 1.422 MB / 0.5476 GB, free: 6.094 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/0.3772, allocations: 1.426 MB / 0.549 GB, free: 5.645 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002509/0.3797, allocations: 1.571 MB / 0.5506 GB, free: 5.035 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009757/0.3807, allocations: 174.8 kB / 0.5507 GB, free: 5.031 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0118/0.3926, allocations: 3.44 MB / 0.5541 GB, free: 4.145 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.3937, allocations: 0.5325 MB / 0.5546 GB, free: 3.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003175/0.3969, allocations: 1.248 MB / 0.5558 GB, free: 3.156 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01582/0.4127, allocations: 6.281 MB / 0.562 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.4127, allocations: 0 / 0.562 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4127, allocations: 0 / 0.562 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.733e-05/0.4128, allocations: 1.156 kB / 0.562 GB, free: 0.5742 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: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.007634/0.4205, allocations: 3.217 MB / 0.5651 GB, free: 14.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.4205, allocations: 8.219 kB / 0.5651 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002554/0.4231, allocations: 0.5746 MB / 0.5657 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.4253, allocations: 1.104 MB / 0.5667 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.4255, allocations: 159.6 kB / 0.5669 GB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003823/0.4258, allocations: 217.2 kB / 0.5671 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004352/0.4302, allocations: 2.799 MB / 0.5698 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.789e-05/0.4303, allocations: 1.625 kB / 0.5698 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002189/0.4305, allocations: 80.78 kB / 0.5699 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.104e-05/0.4305, allocations: 50.72 kB / 0.57 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005585/0.4361, allocations: 3.784 MB / 0.5737 GB, free: 8.238 MB / 394.7 MB 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.01418/0.4503, allocations: 8.38 MB / 0.5818 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005996/0.4564, allocations: 3.945 MB / 0.5857 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.4581, allocations: 1.025 MB / 0.5867 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01386/0.4719, allocations: 9.263 MB / 0.5957 GB, free: 116 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.472, allocations: 43.88 kB / 0.5958 GB, free: 60 kB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001015/0.4731, allocations: 166.1 kB / 0.5959 GB, free: 15.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=138): time 3.587e-06/0.4731, allocations: 0 / 0.5959 GB, free: 15.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=170): time 0.02854/0.5016, allocations: 6.392 MB / 0.6022 GB, free: 9.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.5017, allocations: 73.41 kB / 0.6023 GB, free: 9.328 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/0.5039, allocations: 1.66 MB / 0.6039 GB, free: 7.656 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002807/0.5042, allocations: 57.64 kB / 0.6039 GB, free: 7.594 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007018/0.5049, allocations: 1.038 MB / 0.6049 GB, free: 6.539 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006794/0.5056, allocations: 0.5893 MB / 0.6055 GB, free: 5.941 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006754/0.5063, allocations: 484.5 kB / 0.606 GB, free: 5.461 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.791e-05/0.5064, allocations: 301.1 kB / 0.6063 GB, free: 5.164 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.5077, allocations: 0.7936 MB / 0.607 GB, free: 4.367 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/0.5095, allocations: 1.6 MB / 0.6086 GB, free: 2.398 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003083/0.5126, allocations: 2.417 MB / 0.611 GB, free: 15.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/0.5126, allocations: 8 kB / 0.611 GB, free: 15.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007977/0.5206, allocations: 3.123 MB / 0.614 GB, free: 12.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.5206, allocations: 19.94 kB / 0.614 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.413e-05/0.5207, allocations: 28.16 kB / 0.6141 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003727/0.5244, allocations: 494.9 kB / 0.6145 GB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/0.5264, allocations: 0.585 MB / 0.6151 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009719/0.5361, allocations: 6.957 MB / 0.6219 GB, free: 3.852 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/0.5383, allocations: 135.8 kB / 0.622 GB, free: 3.719 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/0.5385, allocations: 143.9 kB / 0.6222 GB, free: 3.578 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 (305): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007986/0.5393, allocations: 420.8 kB / 0.6226 GB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003442/0.5397, allocations: 173.8 kB / 0.6227 GB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00728/0.547, allocations: 2.399 MB / 0.6251 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.547, allocations: 20 kB / 0.6251 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.547, allocations: 0 / 0.6251 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/0.547, allocations: 7.969 kB / 0.6251 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/0.5499, allocations: 1.862 MB / 0.6269 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.5499, allocations: 4 kB / 0.6269 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/0.5512, allocations: 347.5 kB / 0.6273 GB, free: 14.26 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003591/0.5548, allocations: 459.2 kB / 0.6277 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001807/0.555, allocations: 59.97 kB / 0.6278 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008958/0.5639, allocations: 6.784 MB / 0.6344 GB, free: 6.418 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.564, allocations: 7.969 kB / 0.6344 GB, free: 6.41 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04009/0.6041, allocations: 14.27 MB / 0.6483 GB, free: 7.645 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005033/0.6046, allocations: 234.9 kB / 0.6486 GB, free: 7.395 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004321/0.6051, allocations: 43.92 kB / 0.6486 GB, free: 7.352 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.6062, allocations: 63.89 kB / 0.6487 GB, free: 7.289 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003877/0.6066, allocations: 154 kB / 0.6488 GB, free: 7.141 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/0.6068, allocations: 71.97 kB / 0.6489 GB, free: 7.07 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001397/0.6082, allocations: 1.137 MB / 0.65 GB, free: 5.934 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6082, allocations: 0 / 0.65 GB, free: 5.934 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005877/0.6141, allocations: 1.581 MB / 0.6515 GB, free: 4.352 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (blood_plasma.temperature,red_cells.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,CO2_unbound_erythrocyte.logn,O2_unbound_erythrocyte_NIST.logn,water_plasma.logn,water.logn,water_plasma1.logn) * 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 (183): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004055/0.6182, allocations: 1.48 MB / 0.653 GB, free: 2.871 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00449/0.6227, allocations: 2.497 MB / 0.6554 GB, free: 332 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.6227, allocations: 0 / 0.6554 GB, free: 332 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002073/0.6248, allocations: 1.355 MB / 0.6567 GB, free: 14.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/0.6271, allocations: 350.8 kB / 0.6571 GB, free: 14.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.6374, allocations: 5.68 MB / 0.6626 GB, free: 8.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/0.6389, allocations: 1.429 MB / 0.664 GB, free: 7.355 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002563/0.6415, allocations: 462.8 kB / 0.6645 GB, free: 6.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008566/0.6424, allocations: 306.5 kB / 0.6647 GB, free: 6.609 MB / 490.7 MB Notification: Performance of SimCode: time 8.41e-07/0.6424, allocations: 4 kB / 0.6648 GB, free: 6.605 MB / 490.7 MB Notification: Performance of Templates: time 0.2877/0.9301, allocations: 49.67 MB / 0.7133 GB, free: 145.6 MB / 0.4948 GB make -j1 -f Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility.makefile (rm -f Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility.pipe ; mkfifo Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility.pipe >> ../files/Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility.sim & ./Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility.pipe 2>&1)