Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility.conf.json 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/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/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") translateModel(Chemical.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 189.2 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.4035/0.4035, allocations: 15.32 MB / 305.4 MB, free: 15.35 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 59.91 kB / 369.8 MB, free: 4.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1477, allocations: 53.61 MB / 423.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility): time 0.01283/0.1606, allocations: 11.86 MB / 435.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3996/0.5602, allocations: 32.48 MB / 467.8 MB, free: 29.17 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003692/0.564, allocations: 56.22 kB / 467.8 MB, free: 29.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002808/0.5668, allocations: 0.6287 MB / 468.5 MB, free: 28.81 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01069/0.5776, allocations: 2.369 MB / 470.8 MB, free: 27.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01692/0.5945, allocations: 3.829 MB / 474.7 MB, free: 25.22 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005661/0.6002, allocations: 3.005 MB / 477.7 MB, free: 23.74 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002625/0.6029, allocations: 1.654 MB / 479.3 MB, free: 22.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002852/0.6058, allocations: 1.525 MB / 480.8 MB, free: 22.44 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003868/0.6096, allocations: 1.646 MB / 482.5 MB, free: 21.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008727/0.6105, allocations: 262.8 kB / 482.7 MB, free: 21.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01839/0.6289, allocations: 3.7 MB / 486.4 MB, free: 20.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001845/0.6308, allocations: 0.6125 MB / 487.1 MB, free: 20.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003903/0.6347, allocations: 1.343 MB / 488.4 MB, free: 19.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02641/0.6612, allocations: 6.3 MB / 494.7 MB, free: 16.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.6612, allocations: 0 / 494.7 MB, free: 16.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.288e-06/0.6612, allocations: 5.906 kB / 494.7 MB, free: 16.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001776/0.6614, allocations: 0 / 494.7 MB, free: 16.97 MB / 366.1 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.01392/0.6753, allocations: 3.219 MB / 497.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.984e-05/0.6754, allocations: 9.438 kB / 497.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003487/0.6789, allocations: 0.5735 MB / 498.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002843/0.6818, allocations: 1.095 MB / 499.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.682, allocations: 158 kB / 499.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004801/0.6825, allocations: 231.3 kB / 500 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005771/0.6883, allocations: 2.78 MB / 0.491 GB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.237e-05/0.6883, allocations: 13.09 kB / 0.491 GB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002127/0.6886, allocations: 85.09 kB / 0.4911 GB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.273e-05/0.6886, allocations: 51.81 kB / 0.4911 GB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006203/0.6948, allocations: 3.786 MB / 0.4948 GB, free: 11.75 MB / 366.1 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.01379/0.7086, allocations: 8.328 MB / 0.5029 GB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004756/0.7134, allocations: 3.97 MB / 0.5068 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.7151, allocations: 1.021 MB / 0.5078 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01515/0.7302, allocations: 9.245 MB / 0.5168 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.7303, allocations: 51.86 kB / 0.5169 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001009/0.7313, allocations: 158.2 kB / 0.517 GB, free: 4.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=138): time 3.006e-06/0.7313, allocations: 0 / 0.517 GB, free: 4.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=170): time 0.03176/0.7631, allocations: 6.392 MB / 0.5233 GB, free: 13.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.7632, allocations: 69.41 kB / 0.5234 GB, free: 13.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/0.7655, allocations: 1.671 MB / 0.525 GB, free: 12.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003188/0.7658, allocations: 53.7 kB / 0.525 GB, free: 12.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007821/0.7666, allocations: 1.035 MB / 0.5261 GB, free: 11.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006157/0.7673, allocations: 0.6009 MB / 0.5266 GB, free: 10.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006428/0.7679, allocations: 476.7 kB / 0.5271 GB, free: 9.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.768, allocations: 301.1 kB / 0.5274 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.7693, allocations: 0.7897 MB / 0.5282 GB, free: 8.863 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/0.7714, allocations: 1.597 MB / 0.5297 GB, free: 6.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00307/0.7745, allocations: 2.413 MB / 0.5321 GB, free: 4.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/0.7745, allocations: 11.94 kB / 0.5321 GB, free: 4.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008447/0.783, allocations: 3.127 MB / 0.5351 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.783, allocations: 16 kB / 0.5351 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.337e-05/0.7831, allocations: 28 kB / 0.5352 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00401/0.7871, allocations: 491 kB / 0.5356 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/0.7893, allocations: 0.5928 MB / 0.5362 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/0.7998, allocations: 7.713 MB / 0.5438 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002532/0.8023, allocations: 147.8 kB / 0.5439 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002545/0.8026, allocations: 132 kB / 0.544 GB, free: 7.301 MB / 414.1 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.0009024/0.8035, allocations: 420.9 kB / 0.5444 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004039/0.8039, allocations: 169.9 kB / 0.5446 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007633/0.8116, allocations: 2.39 MB / 0.5469 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.8116, allocations: 23.98 kB / 0.5469 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.8116, allocations: 0 / 0.5469 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.777e-05/0.8117, allocations: 11.91 kB / 0.547 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.8147, allocations: 1.869 MB / 0.5488 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/0.8148, allocations: 7.938 kB / 0.5488 GB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.816, allocations: 351.5 kB / 0.5491 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003965/0.82, allocations: 459.2 kB / 0.5496 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001923/0.8202, allocations: 63.97 kB / 0.5496 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009376/0.8296, allocations: 7.531 MB / 0.557 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8296, allocations: 0 / 0.557 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007995/0.8376, allocations: 2.999 MB / 0.5599 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006995/0.8384, allocations: 234.9 kB / 0.5601 GB, free: 6.059 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000256/0.8386, allocations: 47.98 kB / 0.5602 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.8396, allocations: 59.89 kB / 0.5602 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003232/0.84, allocations: 141.7 kB / 0.5604 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/0.8401, allocations: 75.97 kB / 0.5604 GB, free: 5.742 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001323/0.8415, allocations: 1.13 MB / 0.5615 GB, free: 4.613 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8415, allocations: 3.938 kB / 0.5615 GB, free: 4.609 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004499/0.846, allocations: 1.358 MB / 0.5629 GB, free: 3.25 MB / 430.1 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.003297/0.8493, allocations: 1.498 MB / 0.5643 GB, free: 1.746 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006554/0.8558, allocations: 2.578 MB / 0.5668 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.8559, allocations: 0 / 0.5668 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002037/0.8579, allocations: 1.366 MB / 0.5682 GB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/0.86, allocations: 367.5 kB / 0.5685 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006439/0.8665, allocations: 4.478 MB / 0.5729 GB, free: 8.836 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000984/0.8675, allocations: 1.382 MB / 0.5743 GB, free: 7.422 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002065/0.8696, allocations: 452 kB / 0.5747 GB, free: 6.977 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006437/0.8702, allocations: 294.5 kB / 0.575 GB, free: 6.688 MB / 446.1 MB Notification: Performance of SimCode: time 6.22e-07/0.8702, allocations: 0 / 0.575 GB, free: 6.688 MB / 446.1 MB Notification: Performance of Templates: time 0.2436/1.114, allocations: 45.69 MB / 0.6196 GB, free: 129.7 MB / 462.1 MB make -j1 -f Chemical_Chemical.Examples.GasSolubility.makefile Failed to read output from testmodel.py, exit status != 0: 1.1154683004133403 1.131055221 0.467512153 Traceback (most recent call last): File "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/./testmodel.py", line 440, in resFile = "%s_res.%s" % (conf["fileName"], outputFormat if not shared.isFMPy(fmisimulator) else 'csv') File "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/shared.py", line 98, in isFMPy return 'fmpy' in fmisimulator TypeError: argument of type 'NoneType' is not iterable