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: translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 99.14 kB / 16.64 MB, free: 6.809 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.001237/0.001237, allocations: 185.9 kB / 17.57 MB, free: 5.926 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.445/1.445, allocations: 222.9 MB / 241.3 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8204/0.8204, allocations: 125.3 MB / 416.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 67.88 kB / 0.4943 GB, free: 4.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.4371, allocations: 78.56 MB / 0.571 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6456/1.083, allocations: 188 MB / 0.7546 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01093/1.094, allocations: 5.676 MB / 0.7602 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00235/1.096, allocations: 39.28 kB / 0.7602 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001957/1.098, allocations: 0.5035 MB / 0.7607 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006398/1.105, allocations: 1.726 MB / 0.7624 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004197/1.109, allocations: 1.084 MB / 0.7634 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006209/1.115, allocations: 2.948 MB / 0.7663 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/1.117, allocations: 1.098 MB / 0.7674 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003764/1.121, allocations: 1.257 MB / 0.7686 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003409/1.125, allocations: 1.022 MB / 0.7696 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003437/1.125, allocations: 126.2 kB / 0.7697 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004269/1.129, allocations: 1.512 MB / 0.7712 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009306/1.13, allocations: 0.572 MB / 0.7718 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001692/1.132, allocations: 0.7304 MB / 0.7725 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00322/1.135, allocations: 1.782 MB / 0.7742 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.135, allocations: 0 / 0.7742 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/1.135, allocations: 1.469 kB / 0.7742 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.639e-05/1.135, allocations: 0 / 0.7742 GB, free: 1.402 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003426/1.139, allocations: 1.625 MB / 0.7758 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.139, allocations: 10.94 kB / 0.7758 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/1.141, allocations: 330.7 kB / 0.7761 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/1.142, allocations: 0.8697 MB / 0.777 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.777e-05/1.142, allocations: 77.12 kB / 0.7771 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/1.142, allocations: 95.03 kB / 0.7772 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/1.144, allocations: 1.087 MB / 0.7782 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/1.144, allocations: 0.875 kB / 0.7782 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/1.144, allocations: 42.31 kB / 0.7783 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.087e-05/1.144, allocations: 42.17 kB / 0.7783 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/1.146, allocations: 0.9959 MB / 0.7793 GB, free: 16.13 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.007032/1.153, allocations: 4.385 MB / 0.7835 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008343/1.154, allocations: 0.5963 MB / 0.7841 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004717/1.155, allocations: 352.4 kB / 0.7845 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002271/1.155, allocations: 112.4 kB / 0.7846 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/1.155, allocations: 44.41 kB / 0.7846 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.485e-06/1.155, allocations: 1.094 kB / 0.7846 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.004526/1.159, allocations: 2.197 MB / 0.7868 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/1.159, allocations: 57.88 kB / 0.7868 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/1.161, allocations: 0.8824 MB / 0.7877 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.353e-05/1.161, allocations: 41.7 kB / 0.7877 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004183/1.161, allocations: 0.5171 MB / 0.7882 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/1.161, allocations: 189.9 kB / 0.7884 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/1.162, allocations: 133.9 kB / 0.7885 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001955/1.162, allocations: 331.1 kB / 0.7888 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004391/1.162, allocations: 287.6 kB / 0.7891 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/1.163, allocations: 435.2 kB / 0.7895 GB, free: 12.19 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.003766/1.167, allocations: 1.749 MB / 0.7912 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/1.167, allocations: 0.9375 kB / 0.7912 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001711/1.168, allocations: 0.9257 MB / 0.7922 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/1.168, allocations: 7.125 kB / 0.7922 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/1.168, allocations: 6.109 kB / 0.7922 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002212/1.169, allocations: 103.1 kB / 0.7923 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007021/1.169, allocations: 162.8 kB / 0.7924 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004132/1.173, allocations: 4.637 MB / 0.7969 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/1.175, allocations: 74.38 kB / 0.797 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.55e-05/1.175, allocations: 29.98 kB / 0.797 GB, free: 7.746 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 (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.000717/1.176, allocations: 350.2 kB / 0.7974 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/1.176, allocations: 102.5 kB / 0.7975 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/1.176, allocations: 109.3 kB / 0.7976 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/1.176, allocations: 14.8 kB / 0.7976 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/1.176, allocations: 0 / 0.7976 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001122/1.177, allocations: 0.7636 MB / 0.7983 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003315/1.18, allocations: 1.981 MB / 0.8003 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.18, allocations: 3.406 kB / 0.8003 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006484/1.181, allocations: 151.6 kB / 0.8004 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/1.181, allocations: 42.2 kB / 0.8005 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/1.181, allocations: 21.44 kB / 0.8005 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/1.183, allocations: 1.601 MB / 0.802 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.183, allocations: 8.156 kB / 0.8021 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/1.185, allocations: 1.212 MB / 0.8032 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/1.185, allocations: 253.4 kB / 0.8035 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/1.185, allocations: 12.5 kB / 0.8035 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008279/1.186, allocations: 74.16 kB / 0.8036 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/1.186, allocations: 48.73 kB / 0.8036 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-05/1.186, allocations: 29.72 kB / 0.8036 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008293/1.187, allocations: 0.6145 MB / 0.8042 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/1.187, allocations: 0.5938 kB / 0.8042 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001095/1.188, allocations: 305.2 kB / 0.8045 GB, free: 4.934 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 (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.0005156/1.189, allocations: 200.1 kB / 0.8047 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00178/1.191, allocations: 1.107 MB / 0.8058 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.191, allocations: 3.406 kB / 0.8058 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006588/1.191, allocations: 453.8 kB / 0.8062 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/1.194, allocations: 0.643 MB / 0.8069 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/1.198, allocations: 2.599 MB / 0.8094 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008883/1.199, allocations: 1.167 MB / 0.8105 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003379/1.2, allocations: 86.89 kB / 0.8106 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of SimCode: time 6.52e-07/1.2, allocations: 0 / 0.8106 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of Templates: time 0.04279/1.242, allocations: 26.91 MB / 0.8369 GB, free: 14.7 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)