Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001416/0.001416, allocations: 190.2 kB / 16.25 MB, free: 6.637 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.465/1.465, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00253/0.00253, allocations: 286.8 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.061/1.061, allocations: 178.6 MB / 0.507 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002986/0.002986, allocations: 101.2 kB / 0.6059 GB, free: 25.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2044, allocations: 89.15 MB / 0.693 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.5842/0.7886, allocations: 168.5 MB / 0.8575 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006335/0.795, allocations: 3.368 MB / 0.8608 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008717/0.7959, allocations: 17.94 kB / 0.8608 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.797, allocations: 277.4 kB / 0.8611 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003129/0.8002, allocations: 0.9617 MB / 0.862 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002391/0.8026, allocations: 0.6052 MB / 0.8626 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002781/0.8053, allocations: 1.524 MB / 0.8641 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008994/0.8063, allocations: 481.9 kB / 0.8645 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.8077, allocations: 0.5524 MB / 0.8651 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.809, allocations: 499.3 kB / 0.8656 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.38e-05/0.8091, allocations: 55.44 kB / 0.8656 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.8111, allocations: 0.874 MB / 0.8665 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003148/0.8114, allocations: 241.9 kB / 0.8667 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004469/0.8118, allocations: 335.9 kB / 0.867 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.8136, allocations: 1.182 MB / 0.8682 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.8136, allocations: 0 / 0.8682 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8136, allocations: 0 / 0.8682 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.8136, allocations: 0 / 0.8682 GB, free: 6.102 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001703/0.8154, allocations: 0.9193 MB / 0.8691 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.8154, allocations: 7.906 kB / 0.8691 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.8167, allocations: 180 kB / 0.8693 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009342/0.8176, allocations: 0.4922 MB / 0.8697 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.635e-05/0.8177, allocations: 39.03 kB / 0.8698 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.47e-05/0.8178, allocations: 41.53 kB / 0.8698 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009205/0.8187, allocations: 477.4 kB / 0.8703 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.8187, allocations: 3.219 kB / 0.8703 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/0.8188, allocations: 18.62 kB / 0.8703 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.941e-05/0.8188, allocations: 19.98 kB / 0.8703 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007163/0.8195, allocations: 410.8 kB / 0.8707 GB, free: 4.328 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.002746/0.8223, allocations: 1.735 MB / 0.8724 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.8228, allocations: 297.4 kB / 0.8727 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.8231, allocations: 178.8 kB / 0.8728 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000224/0.8233, allocations: 96.28 kB / 0.8729 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.82e-05/0.8234, allocations: 45.48 kB / 0.873 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.184e-06/0.8234, allocations: 0 / 0.873 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002308/0.8257, allocations: 1.061 MB / 0.874 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.8258, allocations: 54.28 kB / 0.8741 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005058/0.8263, allocations: 459.4 kB / 0.8745 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.8263, allocations: 36.7 kB / 0.8745 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.8266, allocations: 247.9 kB / 0.8748 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.8268, allocations: 113 kB / 0.8749 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.8269, allocations: 69.86 kB / 0.875 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002651/0.8272, allocations: 363 kB / 0.8753 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.8274, allocations: 130 kB / 0.8754 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.8277, allocations: 204.3 kB / 0.8756 GB, free: 496 kB / 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: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/0.8297, allocations: 0.8528 MB / 0.8764 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.8297, allocations: 4 kB / 0.8765 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006755/0.8304, allocations: 420.8 kB / 0.8769 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.8304, allocations: 4 kB / 0.8769 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.8304, allocations: 0 / 0.8769 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.8305, allocations: 4 kB / 0.8769 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.8308, allocations: 71.91 kB / 0.8769 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.8308, allocations: 7.938 kB / 0.8769 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/0.8312, allocations: 27.95 kB / 0.877 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.8313, allocations: 19.98 kB / 0.877 GB, free: 15.27 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: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002823/0.8316, allocations: 210.3 kB / 0.8772 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.765e-05/0.8317, allocations: 55.28 kB / 0.8772 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.8318, allocations: 60.75 kB / 0.8773 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.8318, allocations: 4 kB / 0.8773 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.8318, allocations: 0 / 0.8773 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005568/0.8324, allocations: 412.2 kB / 0.8777 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.8345, allocations: 1.237 MB / 0.8789 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.8345, allocations: 7.938 kB / 0.8789 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/0.8349, allocations: 79.83 kB / 0.879 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.8349, allocations: 4.5 kB / 0.879 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.8349, allocations: 15.94 kB / 0.879 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.8349, allocations: 9.875 kB / 0.879 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.835, allocations: 7.938 kB / 0.879 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.836, allocations: 0.7078 MB / 0.8797 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/0.8362, allocations: 172.4 kB / 0.8799 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.041e-05/0.8363, allocations: 12 kB / 0.8799 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/0.8367, allocations: 28.86 kB / 0.8799 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.8368, allocations: 39.91 kB / 0.88 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/0.8369, allocations: 23.98 kB / 0.88 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004162/0.8373, allocations: 323.1 kB / 0.8803 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8373, allocations: 0 / 0.8803 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000589/0.8379, allocations: 144 kB / 0.8804 GB, free: 11.53 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.0004871/0.8384, allocations: 174.3 kB / 0.8806 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007054/0.8391, allocations: 335.6 kB / 0.8809 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.8391, allocations: 4 kB / 0.8809 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002597/0.8394, allocations: 164.9 kB / 0.8811 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.8411, allocations: 373.5 kB / 0.8814 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.8435, allocations: 1.306 MB / 0.8827 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/0.8442, allocations: 0.8861 MB / 0.8836 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005289/0.8447, allocations: 128.6 kB / 0.8837 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.8449, allocations: 43.44 kB / 0.8837 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.8449, allocations: 0 / 0.8837 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of Templates: time 0.02306/0.8679, allocations: 11.01 MB / 0.8945 GB, free: 13.25 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)