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.001318/0.001318, allocations: 105.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.001308/0.001308, allocations: 193.2 kB / 17.34 MB, free: 5.711 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7751/0.7751, allocations: 125.4 MB / 416.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 67.81 kB / 0.5717 GB, free: 27.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1266, allocations: 78.57 MB / 0.6484 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4894/0.6161, allocations: 190.5 MB / 0.8344 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009152/0.6253, allocations: 5.703 MB / 0.84 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.6263, allocations: 45.06 kB / 0.8401 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.6278, allocations: 0.5693 MB / 0.8406 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004016/0.6318, allocations: 1.83 MB / 0.8424 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.6345, allocations: 1.181 MB / 0.8436 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003042/0.6375, allocations: 2.958 MB / 0.8464 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.6388, allocations: 1.119 MB / 0.8475 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001923/0.6408, allocations: 1.251 MB / 0.8488 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.6424, allocations: 0.9423 MB / 0.8497 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.6426, allocations: 127 kB / 0.8498 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.645, allocations: 1.435 MB / 0.8512 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000539/0.6456, allocations: 0.5712 MB / 0.8518 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007316/0.6463, allocations: 0.7205 MB / 0.8525 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002783/0.6491, allocations: 2.346 MB / 0.8548 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6491, allocations: 4 kB / 0.8548 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.167e-05/0.6492, allocations: 0 / 0.8548 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.6492, allocations: 3.938 kB / 0.8548 GB, free: 2.848 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.002507/0.6517, allocations: 1.653 MB / 0.8564 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.6517, allocations: 12.03 kB / 0.8564 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001987/0.6519, allocations: 160.2 kB / 0.8565 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/0.6539, allocations: 334.9 kB / 0.8569 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.6554, allocations: 0.9185 MB / 0.8578 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/0.6554, allocations: 74 kB / 0.8578 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.6556, allocations: 107.7 kB / 0.8579 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.6574, allocations: 1.077 MB / 0.859 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.6575, allocations: 1.188 kB / 0.859 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.6576, allocations: 44 kB / 0.859 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-05/0.6576, allocations: 37.98 kB / 0.8591 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.6594, allocations: 0.9876 MB / 0.86 GB, free: 13.34 MB / 0.6231 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.006024/0.6654, allocations: 4.393 MB / 0.8643 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009182/0.6663, allocations: 0.5942 MB / 0.8649 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000529/0.6669, allocations: 346.5 kB / 0.8652 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/0.6671, allocations: 105.5 kB / 0.8653 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.6671, allocations: 43 kB / 0.8654 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 2.174e-06/0.6671, allocations: 0 / 0.8654 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55): time 0.004023/0.6711, allocations: 2.226 MB / 0.8675 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.6712, allocations: 55.97 kB / 0.8676 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.6723, allocations: 0.8844 MB / 0.8685 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/0.6724, allocations: 41.64 kB / 0.8685 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/0.6728, allocations: 0.5235 MB / 0.869 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.673, allocations: 206.2 kB / 0.8692 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.6732, allocations: 134.6 kB / 0.8693 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.6734, allocations: 330 kB / 0.8696 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005035/0.6739, allocations: 294.8 kB / 0.8699 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006223/0.6745, allocations: 434.7 kB / 0.8703 GB, free: 2.191 MB / 0.6231 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.003989/0.6785, allocations: 1.749 MB / 0.8721 GB, free: 376 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6786, allocations: 0 / 0.8721 GB, free: 376 kB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001546/0.6801, allocations: 0.9301 MB / 0.873 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.6801, allocations: 8 kB / 0.873 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.6801, allocations: 4 kB / 0.873 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002045/0.6804, allocations: 102.9 kB / 0.8731 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000696/0.6811, allocations: 160.7 kB / 0.8732 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003931/0.685, allocations: 4.642 MB / 0.8778 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007445/0.6858, allocations: 27.92 kB / 0.8778 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/0.6858, allocations: 31.98 kB / 0.8778 GB, free: 10.03 MB / 0.6387 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.0005009/0.6863, allocations: 337.6 kB / 0.8781 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.6865, allocations: 111.4 kB / 0.8782 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.6867, allocations: 109.2 kB / 0.8783 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.6867, allocations: 4 kB / 0.8783 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.6867, allocations: 0 / 0.8783 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00113/0.6879, allocations: 0.7769 MB / 0.8791 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.6909, allocations: 1.984 MB / 0.881 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.691, allocations: 0 / 0.881 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006624/0.6916, allocations: 151.8 kB / 0.8812 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.978e-05/0.6917, allocations: 41.25 kB / 0.8812 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/0.6918, allocations: 15.98 kB / 0.8812 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/0.6931, allocations: 1.606 MB / 0.8828 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.6932, allocations: 7.938 kB / 0.8828 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.695, allocations: 1.22 MB / 0.884 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003687/0.6953, allocations: 256.5 kB / 0.8843 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.6955, allocations: 19.98 kB / 0.8843 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006524/0.6961, allocations: 31.58 kB / 0.8843 GB, free: 3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.6962, allocations: 55.81 kB / 0.8844 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.358e-05/0.6963, allocations: 27.98 kB / 0.8844 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000785/0.6971, allocations: 0.6122 MB / 0.885 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6971, allocations: 3.938 kB / 0.885 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008479/0.698, allocations: 304 kB / 0.8853 GB, free: 2.008 MB / 0.6387 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.002372/0.7003, allocations: 1.846 MB / 0.8871 GB, free: 100 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001549/0.7019, allocations: 1.018 MB / 0.8881 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.7019, allocations: 4 kB / 0.8881 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006521/0.7026, allocations: 444.2 kB / 0.8885 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/0.7052, allocations: 0.6517 MB / 0.8891 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.716, allocations: 7.966 MB / 0.8969 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008369/0.7168, allocations: 1.174 MB / 0.8981 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000774/0.7176, allocations: 252.4 kB / 0.8983 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005267/0.7181, allocations: 379.3 kB / 0.8987 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.7181, allocations: 0 / 0.8987 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7646/1.483, allocations: 30.48 MB / 0.9284 GB, free: 5.832 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.86, allocations: 7.953 kB / 0.9284 GB, free: 5.824 MB / 0.6856 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)