Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001208/0.001208, allocations: 105.4 kB / 16.41 MB, free: 6.496 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.001331/0.001331, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002203/0.002203, allocations: 286.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9813/0.9813, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 99.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5234/0.5254, allocations: 86.98 MB / 0.7671 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2089/0.7344, allocations: 190.4 MB / 0.9531 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.5187/1.253, allocations: 5.714 MB / 0.9586 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/1.255, allocations: 41.25 kB / 0.9587 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/1.257, allocations: 0.5706 MB / 0.9592 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005249/1.262, allocations: 1.832 MB / 0.961 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003458/1.266, allocations: 1.176 MB / 0.9622 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005201/1.271, allocations: 2.946 MB / 0.965 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001916/1.273, allocations: 1.121 MB / 0.9661 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/1.275, allocations: 1.057 MB / 0.9672 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002269/1.277, allocations: 0.9715 MB / 0.9681 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002618/1.278, allocations: 127.3 kB / 0.9682 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003573/1.281, allocations: 1.441 MB / 0.9696 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006617/1.282, allocations: 0.5719 MB / 0.9702 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009999/1.283, allocations: 0.7212 MB / 0.9709 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003435/1.286, allocations: 2.339 MB / 0.9732 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.286, allocations: 0 / 0.9732 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.914e-06/1.286, allocations: 0 / 0.9732 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.964e-05/1.286, allocations: 0.875 kB / 0.9732 GB, free: 1.535 MB / 0.7169 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.002637/1.289, allocations: 1.624 MB / 0.9748 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/1.289, allocations: 13.31 kB / 0.9748 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/1.291, allocations: 329.6 kB / 0.9751 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/1.292, allocations: 0.9111 MB / 0.976 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.307e-05/1.292, allocations: 77.97 kB / 0.9761 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/1.293, allocations: 98.44 kB / 0.9762 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/1.294, allocations: 1.077 MB / 0.9772 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/1.294, allocations: 0.7812 kB / 0.9772 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.246e-05/1.294, allocations: 44.45 kB / 0.9773 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.555e-05/1.294, allocations: 39.84 kB / 0.9773 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/1.296, allocations: 0.9921 MB / 0.9783 GB, free: 16.25 MB / 0.7325 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.005498/1.301, allocations: 4.224 MB / 0.9824 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007713/1.302, allocations: 0.5885 MB / 0.983 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000453/1.303, allocations: 347.1 kB / 0.9833 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/1.303, allocations: 108.2 kB / 0.9834 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/1.303, allocations: 42.92 kB / 0.9834 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 3.878e-06/1.303, allocations: 0.9375 kB / 0.9834 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.004051/1.307, allocations: 2.196 MB / 0.9856 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/1.307, allocations: 62.81 kB / 0.9856 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/1.308, allocations: 0.8814 MB / 0.9865 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.113e-05/1.308, allocations: 41.23 kB / 0.9865 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003766/1.309, allocations: 0.5156 MB / 0.9871 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/1.309, allocations: 194.7 kB / 0.9872 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/1.309, allocations: 131.9 kB / 0.9874 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.309, allocations: 332.4 kB / 0.9877 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/1.31, allocations: 286.6 kB / 0.988 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005558/1.31, allocations: 437.2 kB / 0.9884 GB, free: 12.53 MB / 0.7325 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.003679/1.314, allocations: 1.739 MB / 0.9901 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.314, allocations: 0 / 0.9901 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001516/1.315, allocations: 0.9303 MB / 0.991 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/1.315, allocations: 9.5 kB / 0.991 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.315, allocations: 6.25 kB / 0.991 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002038/1.316, allocations: 96.95 kB / 0.9911 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000683/1.316, allocations: 165.2 kB / 0.9912 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003695/1.32, allocations: 4.63 MB / 0.9958 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/1.321, allocations: 41.5 kB / 0.9958 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.689e-05/1.321, allocations: 24.97 kB / 0.9958 GB, free: 8.098 MB / 0.7325 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.000742/1.322, allocations: 349.8 kB / 0.9962 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000266/1.322, allocations: 101.5 kB / 0.9963 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/1.322, allocations: 112 kB / 0.9964 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/1.322, allocations: 3.062 kB / 0.9964 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.322, allocations: 2.969 kB / 0.9964 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001239/1.324, allocations: 0.7621 MB / 0.9971 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003965/1.328, allocations: 1.989 MB / 0.9991 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/1.328, allocations: 3.188 kB / 0.9991 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006456/1.328, allocations: 150.5 kB / 0.9992 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/1.329, allocations: 41.42 kB / 0.9992 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.055e-05/1.329, allocations: 15.25 kB / 0.9993 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/1.33, allocations: 1.607 MB / 1.001 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.33, allocations: 4.5 kB / 1.001 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/1.331, allocations: 1.21 MB / 1.002 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004948/1.332, allocations: 256.1 kB / 1.002 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/1.332, allocations: 18.72 kB / 1.002 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007451/1.333, allocations: 28.52 kB / 1.002 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/1.333, allocations: 50.08 kB / 1.002 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-05/1.333, allocations: 32.94 kB / 1.002 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007707/1.334, allocations: 0.6169 MB / 1.003 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.334, allocations: 0 / 1.003 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009876/1.335, allocations: 301.2 kB / 1.003 GB, free: 5.301 MB / 0.7325 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.0004673/1.335, allocations: 204.2 kB / 1.003 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001446/1.337, allocations: 1.004 MB / 1.004 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.337, allocations: 2.562 kB / 1.004 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005666/1.337, allocations: 452.5 kB / 1.005 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/1.34, allocations: 0.6517 MB / 1.006 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/1.344, allocations: 2.175 MB / 1.008 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00083/1.345, allocations: 1.169 MB / 1.009 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/1.345, allocations: 88.03 kB / 1.009 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of SimCode: time 7.82e-07/1.345, allocations: 0 / 1.009 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.03538/1.38, allocations: 26.92 MB / 1.035 GB, free: 6.852 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)