Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 107.2 kB / 16.4 MB, free: 6.445 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.00116/0.00116, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7376/0.7376, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 72.23 kB / 0.5572 GB, free: 32.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1608, allocations: 76.18 MB / 0.6316 GB, free: 4.887 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5947/0.7555, allocations: 190.4 MB / 0.8176 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009569/0.7651, allocations: 5.714 MB / 0.8232 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001926/0.7671, allocations: 40.91 kB / 0.8232 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.7691, allocations: 0.5769 MB / 0.8238 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005234/0.7744, allocations: 1.826 MB / 0.8256 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003083/0.7775, allocations: 1.182 MB / 0.8267 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005082/0.7826, allocations: 2.962 MB / 0.8296 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.7844, allocations: 1.114 MB / 0.8307 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001928/0.7864, allocations: 1.072 MB / 0.8317 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/0.7883, allocations: 0.957 MB / 0.8327 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001943/0.7885, allocations: 125.4 kB / 0.8328 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/0.7918, allocations: 1.453 MB / 0.8342 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006524/0.7924, allocations: 0.5718 MB / 0.8348 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000942/0.7934, allocations: 0.7169 MB / 0.8355 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003998/0.7974, allocations: 2.337 MB / 0.8378 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.7974, allocations: 0 / 0.8378 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7974, allocations: 2.719 kB / 0.8378 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.908e-05/0.7975, allocations: 0 / 0.8378 GB, free: 15.77 MB / 0.6075 GB 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.00308/0.8005, allocations: 1.621 MB / 0.8393 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.8006, allocations: 9.812 kB / 0.8393 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001937/0.8008, allocations: 164.4 kB / 0.8395 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.8027, allocations: 330.8 kB / 0.8398 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.8044, allocations: 0.9068 MB / 0.8407 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.995e-05/0.8045, allocations: 78.28 kB / 0.8408 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.8046, allocations: 99.69 kB / 0.8409 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.8064, allocations: 1.08 MB / 0.8419 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.8064, allocations: 2.125 kB / 0.8419 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.574e-05/0.8065, allocations: 45.41 kB / 0.842 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.581e-05/0.8066, allocations: 41.05 kB / 0.842 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.8081, allocations: 0.9967 MB / 0.843 GB, free: 12.44 MB / 0.6075 GB 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.006083/0.8142, allocations: 4.222 MB / 0.8471 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009162/0.8151, allocations: 0.6052 MB / 0.8477 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004961/0.8157, allocations: 346.5 kB / 0.848 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/0.8159, allocations: 104.7 kB / 0.8481 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.8159, allocations: 39 kB / 0.8482 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 3.377e-06/0.8159, allocations: 0 / 0.8482 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.004207/0.8201, allocations: 2.198 MB / 0.8503 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.8202, allocations: 67.84 kB / 0.8504 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.8213, allocations: 0.8804 MB / 0.8512 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.8213, allocations: 37.7 kB / 0.8513 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004506/0.8218, allocations: 0.521 MB / 0.8518 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.822, allocations: 202.2 kB / 0.852 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.8222, allocations: 130.6 kB / 0.8521 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.8224, allocations: 334 kB / 0.8524 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004873/0.8229, allocations: 281.8 kB / 0.8527 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006011/0.8235, allocations: 434.7 kB / 0.8531 GB, free: 2.469 MB / 0.6075 GB 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.003773/0.8273, allocations: 1.745 MB / 0.8548 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.8273, allocations: 0 / 0.8548 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001462/0.8287, allocations: 0.9271 MB / 0.8557 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.8288, allocations: 8 kB / 0.8557 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.8288, allocations: 4 kB / 0.8557 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002112/0.829, allocations: 94.45 kB / 0.8558 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006915/0.8297, allocations: 167.7 kB / 0.856 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003587/0.8333, allocations: 4.631 MB / 0.8605 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008606/0.8342, allocations: 31.89 kB / 0.8605 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.8342, allocations: 27.98 kB / 0.8606 GB, free: 10.32 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000534/0.8348, allocations: 349.7 kB / 0.8609 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.835, allocations: 102.8 kB / 0.861 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.8352, allocations: 113.2 kB / 0.8611 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.8352, allocations: 4 kB / 0.8611 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.8352, allocations: 4 kB / 0.8611 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001031/0.8362, allocations: 0.7652 MB / 0.8618 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003109/0.8393, allocations: 1.986 MB / 0.8638 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.8394, allocations: 4 kB / 0.8638 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006499/0.84, allocations: 152.2 kB / 0.8639 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001011/0.8401, allocations: 36.84 kB / 0.864 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.27e-05/0.8402, allocations: 19.98 kB / 0.864 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.8413, allocations: 1.606 MB / 0.8656 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.8414, allocations: 7.938 kB / 0.8656 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.843, allocations: 1.208 MB / 0.8667 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004889/0.8435, allocations: 251.9 kB / 0.867 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.8436, allocations: 15.98 kB / 0.867 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006543/0.8443, allocations: 35.44 kB / 0.867 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.8444, allocations: 56.05 kB / 0.8671 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.383e-05/0.8444, allocations: 31.98 kB / 0.8671 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007222/0.8452, allocations: 0.6122 MB / 0.8677 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8452, allocations: 0 / 0.8677 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008969/0.8461, allocations: 300 kB / 0.868 GB, free: 2.332 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002126/0.8482, allocations: 1.838 MB / 0.8698 GB, free: 448 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.8497, allocations: 1.011 MB / 0.8708 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.8497, allocations: 4 kB / 0.8708 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005746/0.8503, allocations: 456.1 kB / 0.8712 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/0.8529, allocations: 0.6516 MB / 0.8719 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009891/0.8628, allocations: 7.932 MB / 0.8796 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007118/0.8635, allocations: 1.17 MB / 0.8807 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008414/0.8644, allocations: 252.4 kB / 0.881 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004653/0.8648, allocations: 383.3 kB / 0.8814 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of SimCode: time 7.51e-07/0.8649, allocations: 0 / 0.8814 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06173/0.9266, allocations: 30.99 MB / 0.9116 GB, free: 5.695 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.62, allocations: 9.797 kB / 0.9116 GB, free: 5.688 MB / 0.67 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)