Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008047/0.0008048, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009735/0.0009736, allocations: 173.7 kB / 16.58 MB, free: 6.395 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.337/1.337, allocations: 223.3 MB / 240.6 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6901/0.6901, allocations: 115.5 MB / 407.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002965/0.0002965, allocations: 13.5 kB / 495.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1272, allocations: 77.53 MB / 0.5593 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.4409/0.5681, allocations: 201.5 MB / 0.7561 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00803/0.5762, allocations: 5.394 MB / 0.7613 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007541/0.577, allocations: 35.75 kB / 0.7614 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.5781, allocations: 413.4 kB / 0.7618 GB, free: 8.07 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00312/0.5812, allocations: 1.368 MB / 0.7631 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.5834, allocations: 0.8557 MB / 0.7639 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003546/0.587, allocations: 3.443 MB / 0.7673 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009934/0.588, allocations: 0.7271 MB / 0.768 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.5894, allocations: 0.8868 MB / 0.7689 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.5908, allocations: 0.8834 MB / 0.7697 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.591, allocations: 44 kB / 0.7698 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/0.5928, allocations: 0.7054 MB / 0.7705 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004213/0.5933, allocations: 386.8 kB / 0.7708 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.5936, allocations: 253.1 kB / 0.7711 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.5951, allocations: 1.477 MB / 0.7725 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5951, allocations: 0 / 0.7725 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5951, allocations: 0 / 0.7725 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.5951, allocations: 0 / 0.7725 GB, free: 13.02 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002033/0.5972, allocations: 1.294 MB / 0.7738 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.5972, allocations: 12.03 kB / 0.7738 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.5992, allocations: 310.4 kB / 0.7741 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.6005, allocations: 0.7973 MB / 0.7749 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.171e-05/0.6005, allocations: 58 kB / 0.7749 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.6007, allocations: 88 kB / 0.775 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.6023, allocations: 0.9131 MB / 0.7759 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.6023, allocations: 3.984 kB / 0.7759 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-05/0.6024, allocations: 40 kB / 0.7759 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.052e-05/0.6025, allocations: 33.94 kB / 0.776 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.6039, allocations: 0.8393 MB / 0.7768 GB, free: 8.543 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.005113/0.609, allocations: 3.544 MB / 0.7802 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007712/0.6098, allocations: 496.4 kB / 0.7807 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004709/0.6103, allocations: 308.1 kB / 0.781 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/0.6105, allocations: 105.4 kB / 0.7811 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.6106, allocations: 43 kB / 0.7812 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 4.378e-06/0.6106, allocations: 0 / 0.7812 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.003639/0.6142, allocations: 1.899 MB / 0.783 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.6143, allocations: 55.84 kB / 0.7831 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009499/0.6152, allocations: 0.7942 MB / 0.7838 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.938e-05/0.6153, allocations: 45.7 kB / 0.7839 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003343/0.6156, allocations: 479.2 kB / 0.7843 GB, free: 432 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.6158, allocations: 177.5 kB / 0.7845 GB, free: 252 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.6158, allocations: 8 kB / 0.7845 GB, free: 244 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.616, allocations: 330 kB / 0.7848 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/0.6164, allocations: 249.2 kB / 0.7851 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005481/0.617, allocations: 384.6 kB / 0.7854 GB, free: 15.24 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/0.6197, allocations: 0.9995 MB / 0.7864 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6197, allocations: 0 / 0.7864 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001331/0.621, allocations: 0.8039 MB / 0.7872 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.6211, allocations: 8.406 kB / 0.7872 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.6211, allocations: 8 kB / 0.7872 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001664/0.6213, allocations: 69.61 kB / 0.7873 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/0.6219, allocations: 166.7 kB / 0.7874 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.6243, allocations: 2.881 MB / 0.7902 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008054/0.6251, allocations: 75.31 kB / 0.7903 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.6252, allocations: 20 kB / 0.7903 GB, free: 9.934 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 sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000438/0.6256, allocations: 309.5 kB / 0.7906 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.6257, allocations: 90.97 kB / 0.7907 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.626, allocations: 100.7 kB / 0.7908 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.626, allocations: 4 kB / 0.7908 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.626, allocations: 0 / 0.7908 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00104/0.627, allocations: 0.8466 MB / 0.7916 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.6298, allocations: 1.802 MB / 0.7934 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.6298, allocations: 7.953 kB / 0.7934 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006265/0.6304, allocations: 144.2 kB / 0.7936 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.034e-05/0.6305, allocations: 44.77 kB / 0.7936 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/0.6306, allocations: 12 kB / 0.7936 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.6317, allocations: 1.472 MB / 0.795 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.6318, allocations: 7.984 kB / 0.7951 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.6333, allocations: 1.08 MB / 0.7961 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/0.6337, allocations: 232 kB / 0.7963 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.6338, allocations: 15.98 kB / 0.7963 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000711/0.6345, allocations: 66.44 kB / 0.7964 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.575e-05/0.6346, allocations: 51.84 kB / 0.7965 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.217e-05/0.6347, allocations: 31.92 kB / 0.7965 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006793/0.6354, allocations: 0.5497 MB / 0.797 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6354, allocations: 0 / 0.797 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008457/0.6362, allocations: 276 kB / 0.7973 GB, free: 2.402 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004127/0.6367, allocations: 197.7 kB / 0.7975 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001277/0.6379, allocations: 0.8081 MB / 0.7983 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.638, allocations: 0.8125 kB / 0.7983 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005692/0.6385, allocations: 419.2 kB / 0.7987 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/0.6411, allocations: 0.5726 MB / 0.7992 GB, free: 400 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.644, allocations: 2.158 MB / 0.8013 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006836/0.6447, allocations: 1.087 MB / 0.8024 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008572/0.6455, allocations: 219.7 kB / 0.8026 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.6457, allocations: 75.42 kB / 0.8027 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of SimCode: time 3.31e-07/0.6457, allocations: 0 / 0.8027 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of Templates: time 0.031/0.6767, allocations: 18.4 MB / 0.8206 GB, free: 10.62 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)