Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005017/0.005023, allocations: 105.5 kB / 15.74 MB, free: 6.027 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.001066/0.001066, allocations: 189.7 kB / 16.67 MB, free: 5.949 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.319/1.319, allocations: 222.9 MB / 240.4 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.002048/0.002048, allocations: 294.4 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9512/0.9512, allocations: 169.2 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 91.86 kB / 0.6815 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4231, allocations: 86.98 MB / 0.7664 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.6434/1.067, allocations: 221.1 MB / 0.9823 GB, free: 16.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008454/1.075, allocations: 5.724 MB / 0.9879 GB, free: 16.65 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/1.076, allocations: 42.19 kB / 0.9879 GB, free: 16.65 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001353/1.078, allocations: 0.5762 MB / 0.9885 GB, free: 16.64 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003968/1.082, allocations: 1.85 MB / 0.9903 GB, free: 16.56 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002641/1.084, allocations: 1.191 MB / 0.9915 GB, free: 16.53 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00299/1.087, allocations: 2.953 MB / 0.9943 GB, free: 16.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/1.088, allocations: 1.019 MB / 0.9953 GB, free: 16.42 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/1.09, allocations: 1.091 MB / 0.9964 GB, free: 16.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/1.092, allocations: 0.946 MB / 0.9973 GB, free: 16.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001639/1.092, allocations: 109.2 kB / 0.9974 GB, free: 16.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/1.095, allocations: 1.425 MB / 0.9988 GB, free: 16.39 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003684/1.095, allocations: 464.4 kB / 0.9993 GB, free: 16.39 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006054/1.095, allocations: 0.6578 MB / 0.9999 GB, free: 16.37 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002217/1.098, allocations: 2.142 MB / 1.002 GB, free: 16.11 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/1.098, allocations: 0 / 1.002 GB, free: 16.11 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/1.098, allocations: 4.906 kB / 1.002 GB, free: 16.11 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.386e-05/1.098, allocations: 0 / 1.002 GB, free: 16.11 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.001924/1.1, allocations: 1.505 MB / 1.003 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/1.1, allocations: 8.625 kB / 1.003 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/1.102, allocations: 312.3 kB / 1.004 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/1.103, allocations: 0.867 MB / 1.005 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/1.103, allocations: 71.58 kB / 1.005 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/1.103, allocations: 83.88 kB / 1.005 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/1.104, allocations: 0.9105 MB / 1.006 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/1.104, allocations: 6.844 kB / 1.006 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-05/1.104, allocations: 37.44 kB / 1.006 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-05/1.105, allocations: 30.69 kB / 1.006 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/1.106, allocations: 0.8357 MB / 1.007 GB, free: 14.87 MB / 0.7169 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.004223/1.11, allocations: 3.506 MB / 1.01 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006794/1.111, allocations: 495 kB / 1.01 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003826/1.111, allocations: 298.6 kB / 1.011 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/1.111, allocations: 106.2 kB / 1.011 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/1.111, allocations: 44.62 kB / 1.011 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=47): time 2.454e-06/1.111, allocations: 0 / 1.011 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of matching and sorting (n=49): time 0.003074/1.114, allocations: 1.877 MB / 1.013 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/1.114, allocations: 61.12 kB / 1.013 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007698/1.115, allocations: 0.8075 MB / 1.014 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/1.115, allocations: 35.14 kB / 1.014 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/1.116, allocations: 484.3 kB / 1.014 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/1.116, allocations: 173.7 kB / 1.014 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/1.116, allocations: 114.1 kB / 1.014 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.975e-05/1.116, allocations: 334.7 kB / 1.015 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004189/1.116, allocations: 247.2 kB / 1.015 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/1.117, allocations: 384.8 kB / 1.015 GB, free: 11.7 MB / 0.7169 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.003244/1.12, allocations: 1.538 MB / 1.017 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.12, allocations: 1.031 kB / 1.017 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001056/1.121, allocations: 0.7897 MB / 1.018 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/1.121, allocations: 9.234 kB / 1.018 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/1.121, allocations: 4.031 kB / 1.018 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001399/1.121, allocations: 66.3 kB / 1.018 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006094/1.122, allocations: 151 kB / 1.018 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/1.124, allocations: 3.119 MB / 1.021 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008083/1.125, allocations: 30.73 kB / 1.021 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.985e-05/1.125, allocations: 20.44 kB / 1.021 GB, free: 8.664 MB / 0.7169 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: 14 * 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 (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004433/1.125, allocations: 301.6 kB / 1.021 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/1.125, allocations: 98.09 kB / 1.021 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/1.126, allocations: 104.3 kB / 1.021 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.126, allocations: 5.031 kB / 1.021 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.126, allocations: 5.812 kB / 1.021 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008381/1.126, allocations: 0.8385 MB / 1.022 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/1.129, allocations: 1.791 MB / 1.024 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.129, allocations: 6.5 kB / 1.024 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/1.129, allocations: 127.7 kB / 1.024 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.07e-05/1.129, allocations: 41.3 kB / 1.024 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/1.129, allocations: 21.2 kB / 1.024 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008117/1.13, allocations: 1.593 MB / 1.026 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.13, allocations: 5.5 kB / 1.026 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/1.131, allocations: 1.074 MB / 1.027 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/1.132, allocations: 239.3 kB / 1.027 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/1.132, allocations: 14.69 kB / 1.027 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006535/1.132, allocations: 29.45 kB / 1.027 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.133, allocations: 44.73 kB / 1.027 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.852e-05/1.133, allocations: 30.08 kB / 1.027 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006156/1.133, allocations: 0.5648 MB / 1.028 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.133, allocations: 0 / 1.028 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008186/1.134, allocations: 274 kB / 1.028 GB, free: 5.695 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (47): * Single equations (assignments): 46 * 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.0004019/1.135, allocations: 190.1 kB / 1.028 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001043/1.136, allocations: 0.8063 MB / 1.029 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.136, allocations: 0.8438 kB / 1.029 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004508/1.136, allocations: 407 kB / 1.029 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/1.138, allocations: 0.6004 MB / 1.03 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/1.141, allocations: 1.799 MB / 1.032 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/1.141, allocations: 1.087 MB / 1.033 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006686/1.142, allocations: 218.9 kB / 1.033 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/1.142, allocations: 67.33 kB / 1.033 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/1.142, allocations: 0 / 1.033 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of Templates: time 0.02881/1.171, allocations: 20.2 MB / 1.053 GB, free: 5.168 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)