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: translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002072/0.002072, allocations: 106.6 kB / 15.98 MB, free: 6.355 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.001629/0.00163, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.418/1.418, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7923/0.7923, allocations: 126.1 MB / 416.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.89 kB / 0.4945 GB, free: 3.875 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4257, allocations: 78.7 MB / 0.5713 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.6501/1.076, allocations: 188 MB / 0.7549 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01186/1.088, allocations: 5.67 MB / 0.7604 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/1.09, allocations: 36.06 kB / 0.7605 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00187/1.092, allocations: 0.5033 MB / 0.7609 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005114/1.097, allocations: 1.513 MB / 0.7624 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003634/1.1, allocations: 1.112 MB / 0.7635 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004502/1.105, allocations: 2.546 MB / 0.766 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001923/1.107, allocations: 1.014 MB / 0.767 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002574/1.109, allocations: 1.042 MB / 0.768 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002496/1.112, allocations: 0.9102 MB / 0.7689 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002501/1.112, allocations: 110.4 kB / 0.769 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004788/1.117, allocations: 1.621 MB / 0.7706 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007074/1.118, allocations: 0.5012 MB / 0.7711 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/1.119, allocations: 0.645 MB / 0.7717 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004371/1.123, allocations: 2.239 MB / 0.7739 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.123, allocations: 6.141 kB / 0.7739 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.813e-06/1.123, allocations: 3.438 kB / 0.7739 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.35e-05/1.123, allocations: 0.9688 kB / 0.7739 GB, free: 1.395 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.003134/1.126, allocations: 1.52 MB / 0.7754 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/1.127, allocations: 10.81 kB / 0.7754 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002988/1.13, allocations: 478.8 kB / 0.7758 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/1.131, allocations: 0.8122 MB / 0.7766 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003312/1.131, allocations: 122.6 kB / 0.7768 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/1.131, allocations: 93.64 kB / 0.7768 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/1.134, allocations: 1.182 MB / 0.778 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/1.134, allocations: 0 / 0.778 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/1.134, allocations: 39.53 kB / 0.778 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-05/1.134, allocations: 38.23 kB / 0.7781 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/1.136, allocations: 1.074 MB / 0.7791 GB, free: 16.11 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.006687/1.143, allocations: 4.343 MB / 0.7834 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/1.144, allocations: 0.762 MB / 0.7841 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008323/1.145, allocations: 414.7 kB / 0.7845 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/1.146, allocations: 99.55 kB / 0.7846 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/1.146, allocations: 47.25 kB / 0.7846 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.214e-06/1.146, allocations: 0.75 kB / 0.7846 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.00557/1.151, allocations: 2.2 MB / 0.7868 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/1.151, allocations: 55.53 kB / 0.7868 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009882/1.152, allocations: 0.8625 MB / 0.7877 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.169e-05/1.152, allocations: 38.61 kB / 0.7877 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/1.153, allocations: 500 kB / 0.7882 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/1.153, allocations: 162.3 kB / 0.7884 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/1.153, allocations: 129.7 kB / 0.7885 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.153, allocations: 327.3 kB / 0.7888 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008591/1.154, allocations: 378.1 kB / 0.7892 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009517/1.155, allocations: 0.5011 MB / 0.7896 GB, free: 12.67 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.005779/1.161, allocations: 2.292 MB / 0.7919 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.161, allocations: 3.938 kB / 0.7919 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002261/1.163, allocations: 0.9939 MB / 0.7929 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/1.163, allocations: 6.703 kB / 0.7929 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.163, allocations: 4.594 kB / 0.7929 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/1.163, allocations: 6.344 kB / 0.7929 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009054/1.164, allocations: 197.2 kB / 0.7931 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/1.164, allocations: 16.36 kB / 0.7931 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/1.165, allocations: 93.11 kB / 0.7932 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-05/1.165, allocations: 33 kB / 0.7932 GB, free: 12.24 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.0005864/1.166, allocations: 322.4 kB / 0.7935 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/1.166, allocations: 97.81 kB / 0.7936 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/1.166, allocations: 100.2 kB / 0.7937 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/1.166, allocations: 8.484 kB / 0.7937 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/1.166, allocations: 8.953 kB / 0.7937 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001868/1.168, allocations: 1.036 MB / 0.7947 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004489/1.173, allocations: 2.168 MB / 0.7968 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/1.173, allocations: 2.312 kB / 0.7968 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008257/1.174, allocations: 170.3 kB / 0.797 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/1.174, allocations: 5.406 kB / 0.797 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-05/1.174, allocations: 14.86 kB / 0.797 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/1.174, allocations: 6.703 kB / 0.797 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/1.174, allocations: 8.422 kB / 0.797 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003208/1.177, allocations: 1.435 MB / 0.7984 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008313/1.178, allocations: 255.2 kB / 0.7987 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003552/1.178, allocations: 16.02 kB / 0.7987 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/1.179, allocations: 98.48 kB / 0.7988 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/1.18, allocations: 39.58 kB / 0.7988 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/1.18, allocations: 32.2 kB / 0.7989 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0012/1.181, allocations: 0.6018 MB / 0.7994 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.11e-07/1.181, allocations: 0 / 0.7994 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001347/1.182, allocations: 267.1 kB / 0.7997 GB, free: 10.54 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.0006274/1.183, allocations: 202.5 kB / 0.7999 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002223/1.185, allocations: 0.8905 MB / 0.8008 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.185, allocations: 0 / 0.8008 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009785/1.186, allocations: 398.8 kB / 0.8011 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002991/1.189, allocations: 0.5804 MB / 0.8017 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005549/1.195, allocations: 2.541 MB / 0.8042 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/1.196, allocations: 1.109 MB / 0.8053 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001334/1.197, allocations: 263.3 kB / 0.8055 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/1.198, allocations: 74.39 kB / 0.8056 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of SimCode: time 9.21e-07/1.198, allocations: 0 / 0.8056 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of Templates: time 0.03838/1.236, allocations: 20.8 MB / 0.8259 GB, free: 9.531 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)