Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003653/0.00366, allocations: 354.9 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.317/3.317, allocations: 341.5 MB / 358.2 MB, free: 28.75 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003511/0.00351, allocations: 222.2 kB / 397.9 MB, free: 6.16 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5464/0.5464, allocations: 76.1 MB / 0.5014 GB, free: 0.8281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004882, allocations: 12 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08655/0.08706, allocations: 48.71 MB / 0.6068 GB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6041/0.6912, allocations: 179 MB / 0.7815 GB, free: 9.426 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01891/0.7102, allocations: 9.517 MB / 0.7908 GB, free: 15.89 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.7114, allocations: 19.81 kB / 0.7908 GB, free: 15.88 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.7127, allocations: 302.1 kB / 0.7911 GB, free: 15.58 MB / 426.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.008179/0.7209, allocations: 2.113 MB / 0.7932 GB, free: 13.46 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008223/0.7291, allocations: 1.954 MB / 0.7951 GB, free: 11.52 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004498/0.7336, allocations: 2.633 MB / 0.7977 GB, free: 8.879 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.7348, allocations: 494.5 kB / 0.7981 GB, free: 8.379 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00552/0.7403, allocations: 1.633 MB / 0.7997 GB, free: 6.742 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/0.7423, allocations: 0.8607 MB / 0.8006 GB, free: 5.879 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002221/0.7426, allocations: 44 kB / 0.8006 GB, free: 5.836 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01332/0.7559, allocations: 4.62 MB / 0.8051 GB, free: 1.211 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009106/0.7569, allocations: 379 kB / 0.8055 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004892/0.7574, allocations: 205.3 kB / 0.8057 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3694/1.127, allocations: 2.642 MB / 0.8083 GB, free: 9.992 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.127, allocations: 0 / 0.8083 GB, free: 9.992 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.127, allocations: 0.9688 kB / 0.8083 GB, free: 9.992 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.486e-05/1.127, allocations: 0 / 0.8083 GB, free: 9.992 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.007097/1.134, allocations: 1.614 MB / 0.8098 GB, free: 9.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/1.134, allocations: 9.469 kB / 0.8099 GB, free: 9.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007301/1.135, allocations: 108 kB / 0.81 GB, free: 9.184 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/1.136, allocations: 0.5849 MB / 0.8105 GB, free: 8.926 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/1.137, allocations: 126.4 kB / 0.8106 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/1.137, allocations: 67.83 kB / 0.8107 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002813/1.14, allocations: 1.162 MB / 0.8118 GB, free: 8.688 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/1.14, allocations: 2 kB / 0.8118 GB, free: 8.688 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/1.14, allocations: 33.28 kB / 0.8119 GB, free: 8.688 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001235/1.14, allocations: 64.02 kB / 0.8119 GB, free: 8.684 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002898/1.143, allocations: 1.158 MB / 0.8131 GB, free: 8.676 MB / 426.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.009935/1.153, allocations: 4.717 MB / 0.8177 GB, free: 6.324 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/1.155, allocations: 0.7802 MB / 0.8184 GB, free: 6.285 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/1.156, allocations: 396.8 kB / 0.8188 GB, free: 6.277 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002416/1.159, allocations: 1.895 MB / 0.8207 GB, free: 20.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.535e-05/1.159, allocations: 48.14 kB / 0.8207 GB, free: 20.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 4.308e-06/1.159, allocations: 0 / 0.8207 GB, free: 20.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=81): time 0.02344/1.182, allocations: 4.037 MB / 0.8247 GB, free: 19.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.02e-05/1.183, allocations: 112.2 kB / 0.8248 GB, free: 19.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/1.184, allocations: 0.6202 MB / 0.8254 GB, free: 19.47 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000383/1.184, allocations: 42.02 kB / 0.8254 GB, free: 19.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003659/1.185, allocations: 404.4 kB / 0.8258 GB, free: 19.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000411/1.185, allocations: 287.9 kB / 0.8261 GB, free: 19.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/1.185, allocations: 20.44 kB / 0.8261 GB, free: 19.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002367/1.185, allocations: 387.1 kB / 0.8265 GB, free: 18.72 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001807/1.187, allocations: 483.9 kB / 0.8269 GB, free: 18.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/1.189, allocations: 0.789 MB / 0.8277 GB, free: 18.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/1.191, allocations: 0.5802 MB / 0.8283 GB, free: 18.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.681e-05/1.191, allocations: 1.562 kB / 0.8283 GB, free: 18.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005548/1.197, allocations: 1.674 MB / 0.8299 GB, free: 18.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/1.197, allocations: 11.19 kB / 0.8299 GB, free: 18.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/1.197, allocations: 14.45 kB / 0.8299 GB, free: 18.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0131/1.21, allocations: 1.386 MB / 0.8313 GB, free: 18.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/1.212, allocations: 170 kB / 0.8314 GB, free: 18.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004251/1.216, allocations: 1.497 MB / 0.8329 GB, free: 17.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/1.218, allocations: 96.61 kB / 0.833 GB, free: 17.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/1.218, allocations: 63.91 kB / 0.8331 GB, free: 17.59 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.0008195/1.219, allocations: 305.6 kB / 0.8333 GB, free: 17.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/1.219, allocations: 79.56 kB / 0.8334 GB, free: 17.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005113/1.224, allocations: 1.611 MB / 0.835 GB, free: 17.26 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/1.224, allocations: 4.125 kB / 0.835 GB, free: 17.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.224, allocations: 0 / 0.835 GB, free: 17.26 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007406/1.225, allocations: 283.2 kB / 0.8353 GB, free: 17.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/1.225, allocations: 20.22 kB / 0.8353 GB, free: 17.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/1.227, allocations: 67.17 kB / 0.8353 GB, free: 17.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/1.227, allocations: 64.47 kB / 0.8354 GB, free: 17.11 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008227/1.235, allocations: 1.672 MB / 0.837 GB, free: 16.93 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004995/1.24, allocations: 1.889 MB / 0.8389 GB, free: 16.63 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001399/1.241, allocations: 0.5155 MB / 0.8394 GB, free: 16.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008301/1.242, allocations: 454.5 kB / 0.8398 GB, free: 16.54 MB / 442.7 MB Notification: Performance of Backend: time 6.11e-07/1.242, allocations: 6.906 kB / 0.8398 GB, free: 16.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01015/1.253, allocations: 2.127 MB / 0.8419 GB, free: 16.19 MB / 442.7 MB Notification: Performance of SimCode: time 0.005225/1.258, allocations: 2.663 MB / 0.8445 GB, free: 14.7 MB / 442.7 MB Notification: Performance of Templates: time 0.09838/1.356, allocations: 39.06 MB / 0.8827 GB, free: 1.164 MB / 458.7 MB