Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008301/0.0008301, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008895/0.0008896, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00179/0.00179, allocations: 262.6 kB / 291.3 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9491/0.9491, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004048, allocations: 14.12 kB / 0.598 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1329, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.438/0.5709, allocations: 182.1 MB / 0.8623 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009548/0.5805, allocations: 7.189 MB / 0.8694 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000891/0.5814, allocations: 34.25 kB / 0.8694 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.5826, allocations: 462.9 kB / 0.8698 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003431/0.5861, allocations: 1.502 MB / 0.8713 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.5882, allocations: 0.8666 MB / 0.8722 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002986/0.5912, allocations: 2.986 MB / 0.8751 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009973/0.5922, allocations: 0.7075 MB / 0.8758 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002295/0.5945, allocations: 1.213 MB / 0.8769 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000984/0.5955, allocations: 0.7575 MB / 0.8777 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-05/0.5956, allocations: 41.16 kB / 0.8777 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.598, allocations: 1.259 MB / 0.879 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002669/0.5982, allocations: 256.9 kB / 0.8792 GB, free: 8 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.5985, allocations: 238.6 kB / 0.8794 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.6, allocations: 1.478 MB / 0.8809 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.6, allocations: 0 / 0.8809 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.674e-06/0.6, allocations: 0 / 0.8809 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.6, allocations: 0 / 0.8809 GB, free: 6.914 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003047/0.6031, allocations: 1.488 MB / 0.8823 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.6031, allocations: 8.031 kB / 0.8823 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/0.6054, allocations: 486.1 kB / 0.8828 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.6069, allocations: 0.8816 MB / 0.8837 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005659/0.6075, allocations: 189.9 kB / 0.8838 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.6076, allocations: 68 kB / 0.8839 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.61, allocations: 1.134 MB / 0.885 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.61, allocations: 0 / 0.885 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.541e-05/0.6101, allocations: 27.98 kB / 0.885 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/0.6101, allocations: 34 kB / 0.8851 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003112/0.6133, allocations: 1.269 MB / 0.8863 GB, free: 1.453 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.005977/0.6192, allocations: 4.15 MB / 0.8904 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002431/0.6217, allocations: 0.9291 MB / 0.8913 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.623, allocations: 0.5373 MB / 0.8918 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007899/0.6238, allocations: 0.6448 MB / 0.8924 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001461/0.6252, allocations: 0.6421 MB / 0.893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=57): time 2.464e-06/0.6253, allocations: 0 / 0.893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=57): time 0.004031/0.6293, allocations: 1.52 MB / 0.8945 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.6294, allocations: 85.78 kB / 0.8946 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009848/0.6304, allocations: 0.8316 MB / 0.8954 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.468e-05/0.6304, allocations: 37.7 kB / 0.8955 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003347/0.6308, allocations: 428.4 kB / 0.8959 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.6309, allocations: 193.2 kB / 0.8961 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.631, allocations: 12 kB / 0.8961 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.6311, allocations: 325.9 kB / 0.8964 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.6323, allocations: 452.8 kB / 0.8968 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.6336, allocations: 0.5626 MB / 0.8974 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.6348, allocations: 491.6 kB / 0.8978 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6348, allocations: 0 / 0.8978 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002775/0.6376, allocations: 1.144 MB / 0.8989 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.683e-05/0.6377, allocations: 158.2 kB / 0.8991 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6377, allocations: 4 kB / 0.8991 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.6378, allocations: 7.984 kB / 0.8991 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.6391, allocations: 251.7 kB / 0.8993 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006608/0.6398, allocations: 1.195 MB / 0.9005 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.6408, allocations: 183.3 kB / 0.9007 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.289e-05/0.6409, allocations: 32.48 kB / 0.9007 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/0.6409, allocations: 4 kB / 0.9007 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002602/0.6435, allocations: 1.034 MB / 0.9017 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.6435, allocations: 8.031 kB / 0.9017 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.152e-06/0.6436, allocations: 4 kB / 0.9017 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009815/0.6445, allocations: 216.6 kB / 0.902 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.6446, allocations: 7.953 kB / 0.902 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009598/0.6455, allocations: 183.3 kB / 0.9021 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.298e-05/0.6456, allocations: 27.98 kB / 0.9022 GB, free: 0.5664 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004295/0.646, allocations: 343.5 kB / 0.9025 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.6462, allocations: 98.78 kB / 0.9026 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003007/0.6492, allocations: 1.211 MB / 0.9038 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.6492, allocations: 11.94 kB / 0.9038 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.6492, allocations: 3.953 kB / 0.9038 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.6492, allocations: 3.984 kB / 0.9038 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004446/0.6537, allocations: 2.396 MB / 0.9061 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.6537, allocations: 4 kB / 0.9061 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.6548, allocations: 224 kB / 0.9063 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.6548, allocations: 4 kB / 0.9063 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.664e-05/0.6548, allocations: 19.98 kB / 0.9064 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005854/0.6554, allocations: 1.192 MB / 0.9075 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.6554, allocations: 7.938 kB / 0.9075 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002774/0.6582, allocations: 1.298 MB / 0.9088 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000407/0.6586, allocations: 287.6 kB / 0.9091 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.6588, allocations: 12 kB / 0.9091 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.6599, allocations: 159.8 kB / 0.9092 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.66, allocations: 56.36 kB / 0.9093 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.599e-05/0.6601, allocations: 39.92 kB / 0.9093 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007135/0.6608, allocations: 0.5743 MB / 0.9099 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6608, allocations: 3.938 kB / 0.9099 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001199/0.662, allocations: 483.1 kB / 0.9104 GB, free: 7.938 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005584/0.6626, allocations: 296.2 kB / 0.9106 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004406/0.667, allocations: 1.719 MB / 0.9123 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/0.667, allocations: 0 / 0.9123 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001564/0.6686, allocations: 0.6042 MB / 0.9129 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.6708, allocations: 474.3 kB / 0.9134 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/0.6748, allocations: 2.232 MB / 0.9155 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.6754, allocations: 1.039 MB / 0.9166 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001263/0.6766, allocations: 290.6 kB / 0.9168 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.6769, allocations: 87.34 kB / 0.9169 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of SimCode: time 3.91e-07/0.6769, allocations: 0 / 0.9169 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of Templates: time 0.02931/0.7062, allocations: 18.35 MB / 0.9348 GB, free: 15.02 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)