Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 115.9 kB / 17.08 MB, free: 6.004 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.001294/0.001295, allocations: 195 kB / 18.02 MB, free: 5.086 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.325/1.325, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7458/0.7458, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 66.48 kB / 0.5584 GB, free: 32.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1593, allocations: 76.19 MB / 0.6328 GB, free: 4.246 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6225/0.7819, allocations: 187.3 MB / 0.8156 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01552/0.7974, allocations: 13.06 MB / 0.8284 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.7991, allocations: 32.44 kB / 0.8284 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.8007, allocations: 438.2 kB / 0.8288 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003397/0.8042, allocations: 1.205 MB / 0.83 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.8061, allocations: 0.7089 MB / 0.8307 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002673/0.8088, allocations: 2.021 MB / 0.8327 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.8099, allocations: 0.8389 MB / 0.8335 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004278/0.8142, allocations: 1.88 MB / 0.8353 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.8158, allocations: 0.6606 MB / 0.836 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.816, allocations: 82.95 kB / 0.8361 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.8178, allocations: 0.8667 MB / 0.8369 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004118/0.8183, allocations: 392.2 kB / 0.8373 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006273/0.8189, allocations: 0.4946 MB / 0.8378 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002394/0.8213, allocations: 1.503 MB / 0.8392 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.8213, allocations: 2.25 kB / 0.8392 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8213, allocations: 0 / 0.8392 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.28e-05/0.8214, allocations: 0 / 0.8392 GB, free: 0.9805 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001896/0.8233, allocations: 1.234 MB / 0.8404 GB, free: 24 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.8233, allocations: 10.09 kB / 0.8405 GB, free: 24 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.8245, allocations: 209.3 kB / 0.8407 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.8256, allocations: 0.6884 MB / 0.8413 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.8257, allocations: 56.09 kB / 0.8414 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.8258, allocations: 76.62 kB / 0.8415 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.8272, allocations: 0.9375 MB / 0.8424 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.8272, allocations: 0 / 0.8424 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.037e-05/0.8273, allocations: 30.09 kB / 0.8424 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-05/0.8274, allocations: 38.34 kB / 0.8424 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009557/0.8283, allocations: 0.6184 MB / 0.843 GB, free: 14.34 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.004348/0.8327, allocations: 4.577 MB / 0.8475 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007813/0.8335, allocations: 0.5462 MB / 0.848 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/0.8338, allocations: 256.2 kB / 0.8483 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.834, allocations: 102.5 kB / 0.8484 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.8341, allocations: 37.31 kB / 0.8484 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 3.888e-06/0.8341, allocations: 4 kB / 0.8484 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002725/0.8368, allocations: 1.583 MB / 0.85 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.8369, allocations: 108.1 kB / 0.8501 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007984/0.8377, allocations: 0.7155 MB / 0.8508 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.375e-05/0.8377, allocations: 36.64 kB / 0.8508 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.8381, allocations: 424.3 kB / 0.8512 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.8382, allocations: 158.8 kB / 0.8514 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.8384, allocations: 120.4 kB / 0.8515 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.8385, allocations: 329.2 kB / 0.8518 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.8388, allocations: 192.8 kB / 0.852 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004631/0.8393, allocations: 417.6 kB / 0.8524 GB, free: 6.516 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.8415, allocations: 1.182 MB / 0.8535 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.8415, allocations: 0 / 0.8535 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009778/0.8425, allocations: 0.6685 MB / 0.8542 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.8425, allocations: 11.94 kB / 0.8542 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.8425, allocations: 4 kB / 0.8542 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.8425, allocations: 12 kB / 0.8542 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/0.843, allocations: 127.8 kB / 0.8543 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.843, allocations: 16.53 kB / 0.8543 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005517/0.8436, allocations: 31.92 kB / 0.8544 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.8436, allocations: 24 kB / 0.8544 GB, free: 4.367 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003558/0.844, allocations: 273.5 kB / 0.8547 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.8442, allocations: 83.88 kB / 0.8547 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.8443, allocations: 95.66 kB / 0.8548 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.8443, allocations: 4 kB / 0.8548 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.8444, allocations: 3.938 kB / 0.8548 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007496/0.8451, allocations: 0.7002 MB / 0.8555 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/0.8475, allocations: 1.645 MB / 0.8571 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.8475, allocations: 4 kB / 0.8571 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004295/0.8479, allocations: 105.9 kB / 0.8572 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.968e-06/0.848, allocations: 7.938 kB / 0.8572 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.848, allocations: 15.98 kB / 0.8573 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.289e-06/0.848, allocations: 8 kB / 0.8573 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.848, allocations: 4 kB / 0.8573 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.8491, allocations: 0.8686 MB / 0.8581 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/0.8494, allocations: 200.2 kB / 0.8583 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.8495, allocations: 23.88 kB / 0.8583 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/0.8499, allocations: 18.62 kB / 0.8583 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.85, allocations: 39.84 kB / 0.8584 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-05/0.8501, allocations: 24.05 kB / 0.8584 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005994/0.8507, allocations: 0.5146 MB / 0.8589 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8507, allocations: 0 / 0.8589 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007207/0.8514, allocations: 200 kB / 0.8591 GB, free: 15.28 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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.0004752/0.8519, allocations: 206.2 kB / 0.8593 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007686/0.8527, allocations: 476.5 kB / 0.8598 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8527, allocations: 4.438 kB / 0.8598 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.853, allocations: 211.7 kB / 0.86 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.855, allocations: 489.3 kB / 0.8604 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.8575, allocations: 1.71 MB / 0.8621 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/0.8582, allocations: 1.024 MB / 0.8631 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.8583, allocations: 71.44 kB / 0.8632 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of SimCode: time 3.7e-07/0.8584, allocations: 0 / 0.8632 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of Templates: time 0.02026/0.8786, allocations: 12.99 MB / 0.8759 GB, free: 14.17 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)