Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002578/0.002578, allocations: 360.4 kB / 16.59 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.639/1.639, allocations: 165.8 MB / 183.1 MB, free: 5.426 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.755/3.755, allocations: 410.8 MB / 0.6001 GB, free: 15.15 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002486/0.002486, allocations: 196.5 kB / 0.6668 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004594, allocations: 12 kB / 0.7429 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4019, allocations: 67.45 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6858/1.088, allocations: 171.1 MB / 0.9759 GB, free: 1 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01205/1.1, allocations: 5.839 MB / 0.9816 GB, free: 0.582 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/1.102, allocations: 32.59 kB / 0.9816 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002416/1.104, allocations: 0.5057 MB / 0.9821 GB, free: 432 kB / 474.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.007653/1.112, allocations: 1.793 MB / 0.9838 GB, free: 12 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005332/1.117, allocations: 1.181 MB / 0.985 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00616/1.123, allocations: 3.418 MB / 0.9883 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/1.125, allocations: 0.8073 MB / 0.9891 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00255/1.128, allocations: 0.8488 MB / 0.99 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002282/1.13, allocations: 0.9098 MB / 0.9908 GB, free: 13.69 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002955/1.13, allocations: 46.84 kB / 0.9909 GB, free: 13.69 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002817/1.133, allocations: 0.5439 MB / 0.9914 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009231/1.134, allocations: 494.8 kB / 0.9919 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000615/1.135, allocations: 282.3 kB / 0.9922 GB, free: 13.26 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003213/1.138, allocations: 1.554 MB / 0.9937 GB, free: 12.46 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.138, allocations: 0 / 0.9937 GB, free: 12.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.845e-06/1.138, allocations: 0 / 0.9937 GB, free: 12.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.55e-05/1.138, allocations: 0 / 0.9937 GB, free: 12.46 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003818/1.142, allocations: 1.359 MB / 0.995 GB, free: 11.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/1.142, allocations: 7.531 kB / 0.995 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003099/1.145, allocations: 331.7 kB / 0.9953 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002402/1.148, allocations: 0.8321 MB / 0.9961 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.692e-05/1.148, allocations: 76.28 kB / 0.9962 GB, free: 10.94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/1.148, allocations: 101.4 kB / 0.9963 GB, free: 10.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003038/1.151, allocations: 1.086 MB / 0.9974 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.226e-05/1.151, allocations: 0 / 0.9974 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/1.151, allocations: 45.31 kB / 0.9974 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.907e-05/1.151, allocations: 39.14 kB / 0.9974 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002775/1.154, allocations: 0.9963 MB / 0.9984 GB, free: 10.48 MB / 490.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.009972/1.164, allocations: 4.237 MB / 1.003 GB, free: 7.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/1.166, allocations: 0.611 MB / 1.003 GB, free: 7.867 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008097/1.166, allocations: 344.8 kB / 1.003 GB, free: 7.809 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000272/1.167, allocations: 110.4 kB / 1.004 GB, free: 7.707 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/1.167, allocations: 45.06 kB / 1.004 GB, free: 7.664 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 3.286e-06/1.167, allocations: 0 / 1.004 GB, free: 7.664 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.006868/1.174, allocations: 2.22 MB / 1.006 GB, free: 6.664 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/1.174, allocations: 54.81 kB / 1.006 GB, free: 6.602 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/1.175, allocations: 0.8708 MB / 1.007 GB, free: 6.328 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001797/1.176, allocations: 38.02 kB / 1.007 GB, free: 6.297 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004975/1.176, allocations: 0.5084 MB / 1.007 GB, free: 6.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000317/1.177, allocations: 200 kB / 1.007 GB, free: 5.875 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/1.177, allocations: 16.22 kB / 1.007 GB, free: 5.875 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/1.177, allocations: 329.3 kB / 1.008 GB, free: 5.562 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008294/1.178, allocations: 284.6 kB / 1.008 GB, free: 5.516 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009371/1.179, allocations: 454.6 kB / 1.008 GB, free: 5.293 MB / 490.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005023/1.184, allocations: 1.097 MB / 1.01 GB, free: 4.973 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/1.184, allocations: 4 kB / 1.01 GB, free: 4.969 MB / 490.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002472/1.186, allocations: 0.9329 MB / 1.01 GB, free: 4.723 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/1.186, allocations: 7.672 kB / 1.01 GB, free: 4.723 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/1.186, allocations: 5.031 kB / 1.01 GB, free: 4.723 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000311/1.186, allocations: 92.55 kB / 1.011 GB, free: 4.684 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/1.188, allocations: 177.2 kB / 1.011 GB, free: 4.645 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004951/1.193, allocations: 4.271 MB / 1.015 GB, free: 0.668 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/1.195, allocations: 79.03 kB / 1.015 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-05/1.195, allocations: 28.12 kB / 1.015 GB, free: 0.6367 MB / 490.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008093/1.196, allocations: 352.9 kB / 1.015 GB, free: 480 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/1.196, allocations: 101.7 kB / 1.015 GB, free: 396 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/1.196, allocations: 107.1 kB / 1.016 GB, free: 344 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001829/1.198, allocations: 0.7676 MB / 1.016 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.198, allocations: 0 / 1.016 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007245/1.199, allocations: 247.1 kB / 1.017 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/1.199, allocations: 15.11 kB / 1.017 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/1.2, allocations: 61.23 kB / 1.017 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/1.201, allocations: 36.84 kB / 1.017 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002987/1.204, allocations: 0.8382 MB / 1.017 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002978/1.207, allocations: 1.235 MB / 1.019 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007613/1.207, allocations: 301.9 kB / 1.019 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001252/1.209, allocations: 0.5973 MB / 1.02 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of Backend: time 8.22e-07/1.209, allocations: 0 / 1.02 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003657/1.212, allocations: 1.089 MB / 1.021 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of SimCode: time 0.008882/1.221, allocations: 3.187 MB / 1.024 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of Templates: time 0.06917/1.29, allocations: 22.35 MB / 1.046 GB, free: 3.102 MB / 0.5105 GB