Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.ExothermicReaction.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.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ExothermicReaction") translateModel(Chemical.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ExothermicReaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001731, 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.00122/0.00122, allocations: 191.5 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.678/1.678, allocations: 222.9 MB / 239.9 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.3999/0.3999, allocations: 15.32 MB / 305.4 MB, free: 15.33 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 63.91 kB / 369.8 MB, free: 4.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1927, allocations: 53.61 MB / 423.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.ExothermicReaction): time 0.0156/0.2084, allocations: 9.69 MB / 433.1 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.378/0.5865, allocations: 22.96 MB / 456.1 MB, free: 36.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002697/0.5892, allocations: 45.19 kB / 456.1 MB, free: 36.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.591, allocations: 462.5 kB / 456.6 MB, free: 36.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008307/0.5994, allocations: 1.803 MB / 458.4 MB, free: 35.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0114/0.6108, allocations: 2.673 MB / 461.1 MB, free: 34.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004561/0.6154, allocations: 2.502 MB / 463.6 MB, free: 33.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/0.6174, allocations: 1.425 MB / 465 MB, free: 32.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.6191, allocations: 1.257 MB / 466.2 MB, free: 32.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.6209, allocations: 1.385 MB / 467.6 MB, free: 31.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003122/0.6213, allocations: 215.7 kB / 467.8 MB, free: 31.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01138/0.6326, allocations: 2.663 MB / 470.5 MB, free: 31.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001243/0.6339, allocations: 0.519 MB / 471 MB, free: 30.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001927/0.6359, allocations: 1.098 MB / 472.1 MB, free: 30.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01815/0.654, allocations: 4.798 MB / 476.9 MB, free: 28.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.6541, allocations: 1.094 kB / 476.9 MB, free: 28.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6541, allocations: 0 / 476.9 MB, free: 28.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.4e-05/0.6542, allocations: 4 kB / 476.9 MB, free: 28.25 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: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.008178/0.6624, allocations: 2.663 MB / 479.6 MB, free: 26.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.6624, allocations: 9.625 kB / 479.6 MB, free: 26.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002846/0.6653, allocations: 420.3 kB / 480 MB, free: 26.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.6681, allocations: 0.9222 MB / 480.9 MB, free: 25.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002307/0.6684, allocations: 197.8 kB / 481.1 MB, free: 25.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004012/0.6688, allocations: 184.6 kB / 481.3 MB, free: 25.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004619/0.6734, allocations: 2.092 MB / 483.4 MB, free: 24.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.189e-05/0.6735, allocations: 1.312 kB / 483.4 MB, free: 24.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/0.6737, allocations: 70.09 kB / 483.5 MB, free: 24.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.109e-05/0.6737, allocations: 44.44 kB / 483.5 MB, free: 24.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004962/0.6787, allocations: 2.578 MB / 486.1 MB, free: 24.18 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.01307/0.6918, allocations: 6.357 MB / 492.4 MB, free: 20.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005546/0.6974, allocations: 2.533 MB / 495 MB, free: 19.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.6992, allocations: 0.8489 MB / 495.8 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01254/0.7117, allocations: 8.105 MB / 0.4921 GB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.7118, allocations: 52.41 kB / 0.4922 GB, free: 12.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.376e-06/0.7118, allocations: 4 kB / 0.4922 GB, free: 12.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=150): time 0.02726/0.7391, allocations: 6.176 MB / 0.4982 GB, free: 8.016 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.7391, allocations: 94.42 kB / 0.4983 GB, free: 7.906 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.7402, allocations: 0.9412 MB / 0.4992 GB, free: 6.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002103/0.7404, allocations: 57.64 kB / 0.4993 GB, free: 6.887 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003989/0.7408, allocations: 0.8326 MB / 0.5001 GB, free: 6.039 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003837/0.7412, allocations: 0.5122 MB / 0.5006 GB, free: 5.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000397/0.7416, allocations: 375.2 kB / 0.5009 GB, free: 5.145 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.86e-05/0.7417, allocations: 305.1 kB / 0.5012 GB, free: 4.844 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007451/0.7424, allocations: 0.5233 MB / 0.5017 GB, free: 4.316 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.7435, allocations: 1.247 MB / 0.503 GB, free: 2.727 MB / 366.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start (fixedTemperature.T = solution_at_constant_temperature.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002177/0.7457, allocations: 2.041 MB / 0.5049 GB, free: 340 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.7457, allocations: 12 kB / 0.505 GB, free: 328 kB / 366.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008198/0.7539, allocations: 2.537 MB / 0.5074 GB, free: 13.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.7539, allocations: 16 kB / 0.5074 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.861e-05/0.754, allocations: 24 kB / 0.5075 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005534/0.7595, allocations: 0.7019 MB / 0.5082 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002043/0.7616, allocations: 0.5265 MB / 0.5087 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/0.7738, allocations: 8.26 MB / 0.5167 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/0.7759, allocations: 115.8 kB / 0.5168 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/0.7761, allocations: 112 kB / 0.517 GB, free: 3.434 MB / 382.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (241): * Single equations (assignments): 237 * 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 {(3,6,77.8%), (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.0008217/0.7769, allocations: 381.1 kB / 0.5173 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000368/0.7773, allocations: 142.2 kB / 0.5175 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009165/0.7865, allocations: 2.476 MB / 0.5199 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.7865, allocations: 16 kB / 0.5199 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.7865, allocations: 4 kB / 0.5199 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-05/0.7866, allocations: 11.92 kB / 0.5199 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005535/0.7921, allocations: 2.528 MB / 0.5224 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.7921, allocations: 4 kB / 0.5224 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.7935, allocations: 315.9 kB / 0.5227 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006532/0.8, allocations: 0.7532 MB / 0.5234 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001939/0.8002, allocations: 43.92 kB / 0.5235 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01205/0.8123, allocations: 9.496 MB / 0.5327 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.8123, allocations: 4 kB / 0.5327 GB, free: 2.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009417/0.8217, allocations: 2.819 MB / 0.5355 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006699/0.8225, allocations: 203.4 kB / 0.5357 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002678/0.8227, allocations: 28 kB / 0.5357 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009449/0.8237, allocations: 55.83 kB / 0.5358 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000325/0.824, allocations: 124.9 kB / 0.5359 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.8241, allocations: 63.97 kB / 0.5359 GB, free: 15.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008221/0.825, allocations: 0.6303 MB / 0.5366 GB, free: 14.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.825, allocations: 0 / 0.5366 GB, free: 14.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003433/0.8284, allocations: 1.038 MB / 0.5376 GB, free: 13.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (A1.logn,B1.logn,H2O.logn,A.logn,B.logn,H2O1.amountOfBonds,H2O1.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 (137): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00209/0.8305, allocations: 1.089 MB / 0.5386 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004135/0.8347, allocations: 2.15 MB / 0.5407 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.8347, allocations: 4 kB / 0.5407 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00198/0.8367, allocations: 1.379 MB / 0.5421 GB, free: 8.617 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/0.8385, allocations: 321.4 kB / 0.5424 GB, free: 8.312 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005466/0.844, allocations: 3.735 MB / 0.546 GB, free: 4.516 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009138/0.8449, allocations: 1.268 MB / 0.5473 GB, free: 3.219 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001501/0.8464, allocations: 328 kB / 0.5476 GB, free: 2.895 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004284/0.8469, allocations: 203.3 kB / 0.5478 GB, free: 2.695 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.8469, allocations: 0 / 0.5478 GB, free: 2.695 MB / 414.1 MB Notification: Performance of Templates: time 0.05598/0.9029, allocations: 37.23 MB / 0.5841 GB, free: 13.61 MB / 462.1 MB make -j1 -f Chemical_Chemical.Examples.ExothermicReaction.makefile Failed to read output from testmodel.py, exit status != 0: 0.9051836198195815 0.921412452 0.265148663 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