Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, 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.001105/0.001105, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.323/1.323, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.76/2.76, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 62.39 kB / 0.9115 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3266, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.8204/1.147, allocations: 211.6 MB / 1.274 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0129/1.16, allocations: 7.001 MB / 1.281 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/1.163, allocations: 42 kB / 1.281 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002346/1.165, allocations: 0.6889 MB / 1.282 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008004/1.173, allocations: 2.372 MB / 1.284 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003929/1.177, allocations: 1.066 MB / 1.285 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005294/1.182, allocations: 2.837 MB / 1.288 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002307/1.185, allocations: 1.064 MB / 1.289 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006178/1.191, allocations: 1.979 MB / 1.291 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003109/1.194, allocations: 0.9919 MB / 1.292 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003935/1.194, allocations: 119 kB / 1.292 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008922/1.203, allocations: 2.57 MB / 1.295 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009713/1.204, allocations: 433.2 kB / 1.295 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001565/1.206, allocations: 0.6872 MB / 1.296 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006608/1.213, allocations: 2.617 MB / 1.298 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.213, allocations: 1.156 kB / 1.298 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/1.213, allocations: 0 / 1.298 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.476e-05/1.213, allocations: 0.9375 kB / 1.298 GB, free: 4.742 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.005446/1.218, allocations: 1.848 MB / 1.3 GB, free: 19.82 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/1.218, allocations: 10.09 kB / 1.3 GB, free: 19.82 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003435/1.222, allocations: 0.5359 MB / 1.301 GB, free: 19.75 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/1.224, allocations: 0.9613 MB / 1.301 GB, free: 19.4 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006515/1.224, allocations: 179.7 kB / 1.302 GB, free: 19.4 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/1.224, allocations: 84.3 kB / 1.302 GB, free: 19.4 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002971/1.227, allocations: 1.233 MB / 1.303 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/1.227, allocations: 0 / 1.303 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/1.228, allocations: 34.92 kB / 1.303 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-05/1.228, allocations: 45.33 kB / 1.303 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003791/1.231, allocations: 1.549 MB / 1.304 GB, free: 19.33 MB / 1.014 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.007737/1.239, allocations: 4.049 MB / 1.308 GB, free: 17.74 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/1.242, allocations: 0.9989 MB / 1.309 GB, free: 17.71 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/1.243, allocations: 0.6685 MB / 1.31 GB, free: 17.69 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/1.245, allocations: 0.6057 MB / 1.311 GB, free: 17.13 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/1.245, allocations: 48.25 kB / 1.311 GB, free: 17.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 2.805e-06/1.245, allocations: 3.938 kB / 1.311 GB, free: 17.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.005062/1.25, allocations: 1.815 MB / 1.312 GB, free: 16.94 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/1.25, allocations: 59.31 kB / 1.313 GB, free: 16.88 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/1.251, allocations: 0.8174 MB / 1.313 GB, free: 16.73 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001424/1.251, allocations: 43.33 kB / 1.313 GB, free: 16.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/1.252, allocations: 447.4 kB / 1.314 GB, free: 16.53 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/1.252, allocations: 264.3 kB / 1.314 GB, free: 16.36 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002997/1.252, allocations: 154 kB / 1.314 GB, free: 16.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.252, allocations: 338.8 kB / 1.315 GB, free: 16.03 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/1.254, allocations: 0.5361 MB / 1.315 GB, free: 16 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/1.255, allocations: 0.6489 MB / 1.316 GB, free: 15.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002659/1.258, allocations: 1.141 MB / 1.317 GB, free: 15.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/1.258, allocations: 1.594 kB / 1.317 GB, free: 15.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00341/1.261, allocations: 1.34 MB / 1.318 GB, free: 15.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.921e-05/1.261, allocations: 33.05 kB / 1.318 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.261, allocations: 1.812 kB / 1.318 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/1.261, allocations: 3.594 kB / 1.318 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/1.263, allocations: 260.3 kB / 1.318 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007511/1.264, allocations: 1.193 MB / 1.32 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/1.265, allocations: 178.4 kB / 1.32 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/1.265, allocations: 35.09 kB / 1.32 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002079/1.267, allocations: 0.7604 MB / 1.321 GB, free: 14.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001453/1.269, allocations: 0.6505 MB / 1.321 GB, free: 14.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002528/1.271, allocations: 1.133 MB / 1.322 GB, free: 14.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.886e-06/1.271, allocations: 0 / 1.322 GB, free: 14.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003325/1.275, allocations: 1.332 MB / 1.324 GB, free: 13.95 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.503e-05/1.275, allocations: 42.7 kB / 1.324 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.275, allocations: 0 / 1.324 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/1.275, allocations: 7.531 kB / 1.324 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/1.276, allocations: 231.3 kB / 1.324 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/1.276, allocations: 2.531 kB / 1.324 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/1.278, allocations: 163 kB / 1.324 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-05/1.278, allocations: 36.56 kB / 1.324 GB, free: 13.87 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003698/1.278, allocations: 218.2 kB / 1.324 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/1.278, allocations: 111.5 kB / 1.324 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003363/1.282, allocations: 1.363 MB / 1.326 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/1.282, allocations: 14.12 kB / 1.326 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.282, allocations: 0 / 1.326 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/1.282, allocations: 3.094 kB / 1.326 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005538/1.287, allocations: 2.853 MB / 1.328 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.287, allocations: 3.656 kB / 1.328 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/1.289, allocations: 240.2 kB / 1.329 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/1.289, allocations: 10.81 kB / 1.329 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.142e-05/1.289, allocations: 24.97 kB / 1.329 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008535/1.29, allocations: 1.192 MB / 1.33 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.29, allocations: 4.375 kB / 1.33 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003173/1.293, allocations: 1.467 MB / 1.331 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006174/1.294, allocations: 307.4 kB / 1.332 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/1.294, allocations: 19.3 kB / 1.332 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/1.295, allocations: 151.3 kB / 1.332 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/1.295, allocations: 55.84 kB / 1.332 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.024e-05/1.295, allocations: 39.83 kB / 1.332 GB, free: 11.31 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008774/1.296, allocations: 0.5742 MB / 1.332 GB, free: 11.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.296, allocations: 6.562 kB / 1.332 GB, free: 11.19 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001871/1.298, allocations: 0.5302 MB / 1.333 GB, free: 11.13 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007915/1.299, allocations: 277.3 kB / 1.333 GB, free: 11 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005452/1.304, allocations: 2.126 MB / 1.335 GB, free: 10.81 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.304, allocations: 7.438 kB / 1.335 GB, free: 10.81 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001676/1.306, allocations: 0.6659 MB / 1.336 GB, free: 10.74 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002431/1.308, allocations: 0.4964 MB / 1.336 GB, free: 10.57 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004571/1.313, allocations: 2.519 MB / 1.339 GB, free: 9.105 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006501/1.314, allocations: 1.09 MB / 1.34 GB, free: 8.355 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001851/1.316, allocations: 389.2 kB / 1.34 GB, free: 8.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/1.316, allocations: 89.33 kB / 1.34 GB, free: 8.258 MB / 1.014 GB Notification: Performance of SimCode: time 1.002e-06/1.316, allocations: 4 kB / 1.34 GB, free: 8.254 MB / 1.014 GB Notification: Performance of Templates: time 0.0389/1.355, allocations: 20.71 MB / 1.361 GB, free: 492 kB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./Buildings_3.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)