Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001147/0.001147, allocations: 192.3 kB / 17.35 MB, free: 5.738 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: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002155/0.002155, allocations: 289.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.029/1.029, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 95.84 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4545/0.4564, allocations: 86.98 MB / 0.767 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6123/1.069, allocations: 214.2 MB / 0.9762 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008853/1.078, allocations: 7.035 MB / 0.9831 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/1.079, allocations: 44.47 kB / 0.9831 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001672/1.081, allocations: 0.7892 MB / 0.9839 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004771/1.085, allocations: 2.522 MB / 0.9863 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002491/1.088, allocations: 1.166 MB / 0.9875 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002594/1.091, allocations: 2.84 MB / 0.9902 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/1.092, allocations: 1.081 MB / 0.9913 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003285/1.095, allocations: 2.017 MB / 0.9933 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/1.096, allocations: 0.9387 MB / 0.9942 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001694/1.097, allocations: 118.8 kB / 0.9943 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003409/1.1, allocations: 2.452 MB / 0.9967 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003179/1.1, allocations: 425.4 kB / 0.9971 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005784/1.101, allocations: 0.6885 MB / 0.9978 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002589/1.104, allocations: 2.501 MB / 1 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/1.104, allocations: 0 / 1 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/1.104, allocations: 1 kB / 1 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.347e-05/1.104, allocations: 3.938 kB / 1 GB, free: 1.125 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003983/1.108, allocations: 1.852 MB / 1.002 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/1.108, allocations: 8.781 kB / 1.002 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003133/1.111, allocations: 0.5432 MB / 1.003 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/1.112, allocations: 1 MB / 1.004 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/1.112, allocations: 67.72 kB / 1.004 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/1.113, allocations: 84.77 kB / 1.004 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/1.115, allocations: 1.225 MB / 1.005 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/1.115, allocations: 0 / 1.005 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/1.115, allocations: 31.75 kB / 1.005 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.451e-05/1.115, allocations: 46.02 kB / 1.005 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003361/1.119, allocations: 1.525 MB / 1.006 GB, free: 15.71 MB / 0.7325 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.005555/1.124, allocations: 4.041 MB / 1.01 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/1.126, allocations: 0.9715 MB / 1.011 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/1.128, allocations: 0.6468 MB / 1.012 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/1.129, allocations: 0.6133 MB / 1.013 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/1.129, allocations: 44.62 kB / 1.013 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.615e-06/1.129, allocations: 0.75 kB / 1.013 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.004664/1.134, allocations: 1.782 MB / 1.014 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/1.134, allocations: 61.94 kB / 1.014 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008392/1.135, allocations: 0.8236 MB / 1.015 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/1.135, allocations: 41.27 kB / 1.015 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/1.135, allocations: 446.3 kB / 1.016 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/1.135, allocations: 264.2 kB / 1.016 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/1.136, allocations: 151.5 kB / 1.016 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.136, allocations: 329.1 kB / 1.016 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/1.137, allocations: 0.5294 MB / 1.017 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/1.138, allocations: 0.644 MB / 1.018 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002684/1.141, allocations: 1.115 MB / 1.019 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.141, allocations: 0 / 1.019 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00314/1.144, allocations: 1.335 MB / 1.02 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/1.144, allocations: 39.56 kB / 1.02 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.144, allocations: 3.281 kB / 1.02 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/1.144, allocations: 7.344 kB / 1.02 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/1.146, allocations: 249.9 kB / 1.02 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007235/1.147, allocations: 1.192 MB / 1.021 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/1.148, allocations: 144.7 kB / 1.022 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.037e-05/1.148, allocations: 36.09 kB / 1.022 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001611/1.149, allocations: 0.752 MB / 1.022 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001418/1.151, allocations: 0.6397 MB / 1.023 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002589/1.153, allocations: 1.108 MB / 1.024 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/1.153, allocations: 0 / 1.024 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003056/1.157, allocations: 1.317 MB / 1.025 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/1.157, allocations: 39.47 kB / 1.025 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/1.157, allocations: 1.375 kB / 1.025 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.663e-06/1.157, allocations: 3.875 kB / 1.025 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/1.158, allocations: 225.7 kB / 1.026 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/1.158, allocations: 7.859 kB / 1.026 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/1.159, allocations: 139.3 kB / 1.026 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.846e-05/1.159, allocations: 32.28 kB / 1.026 GB, free: 10.35 MB / 0.7325 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.0002698/1.159, allocations: 220.4 kB / 1.026 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/1.159, allocations: 102.4 kB / 1.026 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/1.163, allocations: 1.346 MB / 1.027 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/1.163, allocations: 4.922 kB / 1.027 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.163, allocations: 3.938 kB / 1.027 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004115/1.163, allocations: 311.3 kB / 1.028 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/1.163, allocations: 19.72 kB / 1.028 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.164, allocations: 97.8 kB / 1.028 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/1.165, allocations: 51.7 kB / 1.028 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003672/1.168, allocations: 1.357 MB / 1.029 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004475/1.173, allocations: 2.103 MB / 1.031 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001332/1.174, allocations: 0.5613 MB / 1.032 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006803/1.175, allocations: 0.5697 MB / 1.032 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of Backend: time 5.71e-07/1.175, allocations: 0 / 1.032 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005466/1.18, allocations: 2.014 MB / 1.034 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of SimCode: time 0.003478/1.184, allocations: 2.267 MB / 1.036 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of Templates: time 0.04613/1.23, allocations: 30.12 MB / 1.066 GB, free: 11.45 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)