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.00148/0.00148, allocations: 95.56 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01063/0.01063, allocations: 173.4 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.394/2.394, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.147/1.147, allocations: 113.7 MB / 405.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004645, allocations: 8 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2658, allocations: 77.12 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.8652/1.131, allocations: 158.2 MB / 0.7112 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01669/1.148, allocations: 5.623 MB / 0.7167 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002933/1.151, allocations: 31.75 kB / 0.7168 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003221/1.154, allocations: 0.5599 MB / 0.7173 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009915/1.164, allocations: 1.667 MB / 0.7189 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006693/1.171, allocations: 1.199 MB / 0.7201 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006484/1.177, allocations: 1.691 MB / 0.7217 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/1.18, allocations: 0.8249 MB / 0.7226 GB, free: 280 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003004/1.183, allocations: 0.7747 MB / 0.7233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/1.185, allocations: 0.6031 MB / 0.7239 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000226/1.185, allocations: 52 kB / 0.7239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003367/1.189, allocations: 0.6123 MB / 0.7245 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00094/1.19, allocations: 462.8 kB / 0.725 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008466/1.19, allocations: 281.1 kB / 0.7253 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003504/1.194, allocations: 1.544 MB / 0.7268 GB, free: 11.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.194, allocations: 0 / 0.7268 GB, free: 11.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.182e-06/1.194, allocations: 0 / 0.7268 GB, free: 11.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.282e-05/1.194, allocations: 3.938 kB / 0.7268 GB, free: 11.95 MB / 0.545 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.004241/1.198, allocations: 1.36 MB / 0.7281 GB, free: 10.54 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 8.7e-05/1.198, allocations: 12.02 kB / 0.7281 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004288/1.199, allocations: 156.2 kB / 0.7283 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003446/1.202, allocations: 330.1 kB / 0.7286 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002757/1.205, allocations: 0.8402 MB / 0.7294 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/1.205, allocations: 77.95 kB / 0.7295 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/1.205, allocations: 95.91 kB / 0.7296 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003193/1.209, allocations: 1.083 MB / 0.7306 GB, free: 7.902 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.378e-05/1.209, allocations: 0 / 0.7306 GB, free: 7.902 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/1.209, allocations: 44 kB / 0.7307 GB, free: 7.859 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.682e-05/1.209, allocations: 37.98 kB / 0.7307 GB, free: 7.824 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002764/1.212, allocations: 0.9993 MB / 0.7317 GB, free: 6.82 MB / 0.545 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.01169/1.223, allocations: 4.252 MB / 0.7358 GB, free: 2.273 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/1.225, allocations: 0.5881 MB / 0.7364 GB, free: 1.676 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.684e-05/1.225, allocations: 24.41 kB / 0.7364 GB, free: 1.652 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/1.225, allocations: 42.95 kB / 0.7365 GB, free: 1.602 MB / 0.545 GB Notification: Performance of pre-optimization done (n=53): time 3.447e-06/1.225, allocations: 0 / 0.7365 GB, free: 1.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=55): time 0.006934/1.232, allocations: 2.225 MB / 0.7386 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/1.232, allocations: 63.97 kB / 0.7387 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/1.234, allocations: 0.8687 MB / 0.7395 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/1.234, allocations: 41.64 kB / 0.7396 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006279/1.235, allocations: 0.5146 MB / 0.7401 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003445/1.235, allocations: 193.2 kB / 0.7403 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.248e-05/1.235, allocations: 16 kB / 0.7403 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002248/1.235, allocations: 334 kB / 0.7406 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007548/1.236, allocations: 285.8 kB / 0.7409 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009234/1.237, allocations: 436.9 kB / 0.7413 GB, free: 12.45 MB / 0.5606 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.004386/1.242, allocations: 1.107 MB / 0.7424 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.242, allocations: 0 / 0.7424 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00266/1.244, allocations: 0.9296 MB / 0.7433 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/1.244, allocations: 9.562 kB / 0.7433 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/1.244, allocations: 7.938 kB / 0.7433 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003288/1.245, allocations: 98.92 kB / 0.7434 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/1.246, allocations: 171.8 kB / 0.7436 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005715/1.252, allocations: 4.337 MB / 0.7478 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/1.253, allocations: 75.92 kB / 0.7479 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/1.254, allocations: 27.98 kB / 0.7479 GB, free: 5.266 MB / 0.5606 GB 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.001015/1.255, allocations: 341.5 kB / 0.7482 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003682/1.255, allocations: 98.88 kB / 0.7483 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/1.255, allocations: 113.2 kB / 0.7484 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/1.255, allocations: 7.938 kB / 0.7484 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/1.255, allocations: 3.938 kB / 0.7484 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001759/1.257, allocations: 0.7692 MB / 0.7492 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0059/1.263, allocations: 2.008 MB / 0.7511 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/1.263, allocations: 4 kB / 0.7511 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/1.264, allocations: 155.8 kB / 0.7513 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001764/1.264, allocations: 44.91 kB / 0.7513 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.464e-05/1.264, allocations: 19.98 kB / 0.7514 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/1.267, allocations: 1.499 MB / 0.7528 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.267, allocations: 4 kB / 0.7528 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003185/1.27, allocations: 1.369 MB / 0.7542 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/1.271, allocations: 255.8 kB / 0.7544 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/1.271, allocations: 15.98 kB / 0.7544 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/1.273, allocations: 72.5 kB / 0.7545 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/1.273, allocations: 43.84 kB / 0.7545 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/1.273, allocations: 35.97 kB / 0.7546 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001333/1.274, allocations: 0.6044 MB / 0.7552 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.2e-07/1.274, allocations: 0 / 0.7552 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001875/1.276, allocations: 304 kB / 0.7554 GB, free: 13.07 MB / 0.5762 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 (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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004493/1.281, allocations: 2.904 MB / 0.7583 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002626/1.283, allocations: 1.007 MB / 0.7593 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.283, allocations: 1 kB / 0.7593 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/1.284, allocations: 462.2 kB / 0.7597 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004926/1.289, allocations: 0.6087 MB / 0.7603 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01804/1.307, allocations: 8.602 MB / 0.7687 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/1.309, allocations: 1.19 MB / 0.7699 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001864/1.311, allocations: 256.4 kB / 0.7701 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007947/1.311, allocations: 379.3 kB / 0.7705 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of SimCode: time 1.864e-06/1.311, allocations: 0 / 0.7705 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09067/1.402, allocations: 29.87 MB / 0.7996 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003408/1.403, allocations: 270.2 kB / 0.7999 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.119/5.521, allocations: 4 kB / 0.7999 GB, free: 15.5 MB / 0.6231 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/linux/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) Environment - environmentSimulation: