Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.001287/0.001288, allocations: 105.8 kB / 16.27 MB, free: 6.41 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.001157/0.001157, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.19/1.19, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6977/0.6977, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 63.89 kB / 0.4912 GB, free: 7.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2771, allocations: 77.92 MB / 0.5673 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4141/0.6913, allocations: 190.4 MB / 0.7533 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007068/0.6984, allocations: 5.707 MB / 0.7588 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006714/0.6991, allocations: 41.44 kB / 0.7589 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.7002, allocations: 0.5664 MB / 0.7594 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002914/0.7031, allocations: 1.61 MB / 0.761 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.7057, allocations: 1.207 MB / 0.7622 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002758/0.7084, allocations: 2.551 MB / 0.7647 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.7097, allocations: 1.041 MB / 0.7657 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.7112, allocations: 1.04 MB / 0.7667 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.7128, allocations: 0.857 MB / 0.7675 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002003/0.713, allocations: 110.1 kB / 0.7676 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.7154, allocations: 1.556 MB / 0.7692 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004877/0.7159, allocations: 0.4941 MB / 0.7696 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00065/0.7166, allocations: 0.646 MB / 0.7703 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002189/0.7188, allocations: 2.155 MB / 0.7724 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.7188, allocations: 1.656 kB / 0.7724 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7188, allocations: 0 / 0.7724 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.7188, allocations: 1.812 kB / 0.7724 GB, free: 1.414 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002078/0.7209, allocations: 1.522 MB / 0.7739 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.721, allocations: 9.875 kB / 0.7739 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/0.7211, allocations: 143.9 kB / 0.774 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/0.7238, allocations: 475.4 kB / 0.7745 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.7249, allocations: 0.8203 MB / 0.7753 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003277/0.7252, allocations: 122.4 kB / 0.7754 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.7254, allocations: 87.12 kB / 0.7755 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.7271, allocations: 1.191 MB / 0.7766 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.7271, allocations: 1.875 kB / 0.7766 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.619e-05/0.7272, allocations: 38.22 kB / 0.7767 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.314e-05/0.7273, allocations: 35.02 kB / 0.7767 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.7292, allocations: 1.074 MB / 0.7777 GB, free: 16.08 MB / 0.5919 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.005367/0.7346, allocations: 4.356 MB / 0.782 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.7363, allocations: 0.7624 MB / 0.7827 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008111/0.7372, allocations: 411.5 kB / 0.7831 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.7373, allocations: 103.4 kB / 0.7832 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.7374, allocations: 51.48 kB / 0.7833 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.473e-06/0.7374, allocations: 0.9688 kB / 0.7833 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.004911/0.7423, allocations: 2.198 MB / 0.7854 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.7423, allocations: 57.38 kB / 0.7855 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007563/0.7431, allocations: 0.8665 MB / 0.7863 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.182e-05/0.7431, allocations: 38.31 kB / 0.7864 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.7434, allocations: 493.5 kB / 0.7868 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.7435, allocations: 165.5 kB / 0.787 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.7437, allocations: 124 kB / 0.7871 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.835e-05/0.7438, allocations: 332.4 kB / 0.7874 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008257/0.7447, allocations: 377 kB / 0.7878 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009006/0.7456, allocations: 0.503 MB / 0.7883 GB, free: 12.64 MB / 0.5919 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.005358/0.7509, allocations: 2.301 MB / 0.7905 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.751, allocations: 2.594 kB / 0.7905 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001936/0.7529, allocations: 0.9957 MB / 0.7915 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.7529, allocations: 12.62 kB / 0.7915 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7529, allocations: 3.406 kB / 0.7915 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.753, allocations: 8.656 kB / 0.7915 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008178/0.7538, allocations: 192.1 kB / 0.7917 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.7538, allocations: 8.016 kB / 0.7917 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008497/0.7547, allocations: 68.19 kB / 0.7918 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.7547, allocations: 25.66 kB / 0.7918 GB, free: 12.2 MB / 0.5919 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003172/0.755, allocations: 313.2 kB / 0.7921 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.7552, allocations: 101.7 kB / 0.7922 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.7554, allocations: 108.8 kB / 0.7923 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.7554, allocations: 5.781 kB / 0.7923 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.7554, allocations: 1.094 kB / 0.7923 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001725/0.7571, allocations: 1.034 MB / 0.7933 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003739/0.7609, allocations: 2.158 MB / 0.7954 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.7609, allocations: 3.734 kB / 0.7954 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007687/0.7617, allocations: 170.1 kB / 0.7956 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.545e-06/0.7617, allocations: 10.12 kB / 0.7956 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.7617, allocations: 25.2 kB / 0.7956 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.7617, allocations: 4.266 kB / 0.7956 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.7617, allocations: 8.062 kB / 0.7956 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/0.7644, allocations: 1.428 MB / 0.797 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003156/0.7647, allocations: 257.7 kB / 0.7973 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.7648, allocations: 13.92 kB / 0.7973 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008293/0.7657, allocations: 72.33 kB / 0.7974 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/0.7657, allocations: 37.39 kB / 0.7974 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.324e-05/0.7658, allocations: 31.59 kB / 0.7974 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006244/0.7664, allocations: 0.604 MB / 0.798 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7664, allocations: 4 kB / 0.798 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007019/0.7672, allocations: 267.4 kB / 0.7983 GB, free: 10.52 MB / 0.5919 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003206/0.7704, allocations: 2.073 MB / 0.8003 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001916/0.7723, allocations: 0.8864 MB / 0.8012 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7723, allocations: 1.469 kB / 0.8012 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008711/0.7732, allocations: 404.8 kB / 0.8016 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/0.7754, allocations: 0.5773 MB / 0.8021 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.7889, allocations: 8.553 MB / 0.8105 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005855/0.7895, allocations: 1.113 MB / 0.8116 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001008/0.7905, allocations: 263.8 kB / 0.8118 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004235/0.791, allocations: 353.4 kB / 0.8122 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.791, allocations: 4 kB / 0.8122 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.456/2.247, allocations: 28.53 MB / 0.84 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.93/11.18, allocations: 4.875 kB / 0.84 GB, free: 11.34 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)