Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.WaterVaporization.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.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 99.36 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.001418/0.001418, allocations: 195.6 kB / 16.25 MB, free: 6.629 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.54/1.54, 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.3574/0.3574, allocations: 15.32 MB / 305.4 MB, free: 15.3 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 67.89 kB / 369.8 MB, free: 4.273 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1393, allocations: 53.61 MB / 423.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01064/0.15, allocations: 7.389 MB / 430.8 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.4023/0.5524, allocations: 14.41 MB / 445.3 MB, free: 42.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.5547, allocations: 31.83 kB / 445.3 MB, free: 42.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.5564, allocations: 302.3 kB / 445.6 MB, free: 42.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005155/0.5616, allocations: 1.005 MB / 446.6 MB, free: 42.26 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008411/0.5701, allocations: 1.742 MB / 448.3 MB, free: 41.97 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003716/0.5738, allocations: 1.6 MB / 449.9 MB, free: 41.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.5757, allocations: 0.9774 MB / 450.9 MB, free: 41.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.5774, allocations: 0.7878 MB / 451.7 MB, free: 41.37 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.5788, allocations: 0.8504 MB / 452.5 MB, free: 41.22 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002183/0.579, allocations: 150 kB / 452.7 MB, free: 41.22 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007134/0.5861, allocations: 1.505 MB / 454.2 MB, free: 41.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005892/0.5868, allocations: 344.2 kB / 454.5 MB, free: 41.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001312/0.5881, allocations: 0.7552 MB / 455.3 MB, free: 40.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.5997, allocations: 2.973 MB / 458.3 MB, free: 39.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.181e-05/0.5998, allocations: 0 / 458.3 MB, free: 39.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.917e-06/0.5998, allocations: 0 / 458.3 MB, free: 39.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.858e-05/0.5998, allocations: 4 kB / 458.3 MB, free: 39.85 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: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.004388/0.6042, allocations: 1.84 MB / 460.1 MB, free: 38.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.171e-05/0.6043, allocations: 9.125 kB / 460.1 MB, free: 38.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.6058, allocations: 322.3 kB / 460.4 MB, free: 38.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.6069, allocations: 0.6469 MB / 461.1 MB, free: 38.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.24e-05/0.607, allocations: 98.78 kB / 461.2 MB, free: 38.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.6072, allocations: 136.8 kB / 461.3 MB, free: 38.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.6097, allocations: 1.524 MB / 462.8 MB, free: 37.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.6098, allocations: 3.938 kB / 462.8 MB, free: 37.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.6099, allocations: 56.06 kB / 462.9 MB, free: 37.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/0.6099, allocations: 34.38 kB / 462.9 MB, free: 37.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/0.6126, allocations: 1.851 MB / 464.8 MB, free: 36.84 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.007739/0.6204, allocations: 4.632 MB / 469.4 MB, free: 34.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.6228, allocations: 1.349 MB / 470.8 MB, free: 33.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000913/0.6237, allocations: 0.5289 MB / 471.3 MB, free: 33.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008453/0.6322, allocations: 4.601 MB / 475.9 MB, free: 29.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/0.6324, allocations: 43.31 kB / 475.9 MB, free: 29.81 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007777/0.6331, allocations: 92.38 kB / 476 MB, free: 29.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 1.144e-05/0.6332, allocations: 0 / 476 MB, free: 29.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.02469/0.6579, allocations: 4.324 MB / 480.3 MB, free: 28.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.329e-05/0.658, allocations: 62.72 kB / 480.4 MB, free: 27.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.6595, allocations: 0.5822 MB / 481 MB, free: 27.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002813/0.6598, allocations: 41.45 kB / 481 MB, free: 27.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006613/0.6605, allocations: 0.5809 MB / 481.6 MB, free: 27.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006185/0.6611, allocations: 355.1 kB / 481.9 MB, free: 26.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006198/0.6617, allocations: 236.8 kB / 482.2 MB, free: 26.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002349/0.662, allocations: 392.9 kB / 482.6 MB, free: 26.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.663, allocations: 417.6 kB / 483 MB, free: 26.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.6644, allocations: 0.7788 MB / 483.7 MB, free: 25.7 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: gas.temperature = gas.temperature_start (liquid.temperature_start = gas.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02954/0.694, allocations: 4.548 MB / 488.3 MB, free: 24.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.457e-05/0.694, allocations: 7.094 kB / 488.3 MB, free: 24.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.007525/0.7016, allocations: 1.773 MB / 490.1 MB, free: 23.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/0.7017, allocations: 9.625 kB / 490.1 MB, free: 23.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.321e-05/0.7017, allocations: 12.38 kB / 490.1 MB, free: 23.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004004/0.7057, allocations: 487.3 kB / 490.6 MB, free: 23.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.7071, allocations: 296.1 kB / 490.9 MB, free: 23.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007938/0.715, allocations: 4.403 MB / 495.3 MB, free: 19.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.7168, allocations: 80.3 kB / 495.3 MB, free: 19.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004402/0.7173, allocations: 66.45 kB / 495.4 MB, free: 19.71 MB / 366.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: gas.temperature = gas.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (143): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001159/0.7185, allocations: 278 kB / 495.7 MB, free: 19.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006716/0.7192, allocations: 95.95 kB / 495.8 MB, free: 19.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00765/0.7268, allocations: 1.741 MB / 497.5 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.7269, allocations: 10.69 kB / 497.5 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/0.7269, allocations: 2.781 kB / 497.5 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-05/0.7269, allocations: 9.797 kB / 497.5 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009615/0.7365, allocations: 2.952 MB / 0.4888 GB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.7366, allocations: 4.312 kB / 0.4888 GB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007745/0.7374, allocations: 210.6 kB / 0.489 GB, free: 17.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004849/0.7422, allocations: 0.537 MB / 0.4895 GB, free: 16.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002263/0.7425, allocations: 35.98 kB / 0.4895 GB, free: 16.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007017/0.7495, allocations: 5.679 MB / 0.4951 GB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.7496, allocations: 7.938 kB / 0.4951 GB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007248/0.7568, allocations: 2.31 MB / 0.4973 GB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004423/0.7573, allocations: 159.7 kB / 0.4975 GB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003402/0.7576, allocations: 27.98 kB / 0.4975 GB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008633/0.7585, allocations: 51.86 kB / 0.4976 GB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003141/0.7589, allocations: 100.8 kB / 0.4977 GB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/0.759, allocations: 43.98 kB / 0.4977 GB, free: 7.715 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005676/0.7596, allocations: 391.1 kB / 0.4981 GB, free: 7.336 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7596, allocations: 0 / 0.4981 GB, free: 7.336 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002663/0.7622, allocations: 0.5895 MB / 0.4986 GB, free: 6.746 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (H2O_gaseuous.logn,otherSubstances.logn,liquidWater.amountOfBonds,liquidWater.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 (100): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001569/0.7638, allocations: 0.6278 MB / 0.4993 GB, free: 6.176 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003364/0.7672, allocations: 1.473 MB / 0.5007 GB, free: 4.676 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.7672, allocations: 0 / 0.5007 GB, free: 4.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001407/0.7686, allocations: 1.01 MB / 0.5017 GB, free: 3.633 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.7702, allocations: 216.5 kB / 0.5019 GB, free: 3.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004478/0.7747, allocations: 2.735 MB / 0.5046 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000933/0.7756, allocations: 1.069 MB / 0.5056 GB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001298/0.777, allocations: 232.7 kB / 0.5058 GB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003984/0.7774, allocations: 165.7 kB / 0.506 GB, free: 15.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.7774, allocations: 0 / 0.506 GB, free: 15.16 MB / 382.1 MB Notification: Performance of Templates: time 0.0433/0.8207, allocations: 22.73 MB / 0.5282 GB, free: 8.555 MB / 398.1 MB make -j1 -f Chemical_Chemical.Examples.WaterVaporization.makefile Failed to read output from testmodel.py, exit status != 0: 0.8223048127256334 0.8430421560000001 0.240621464 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