Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_HeatExchangers_test_DiscreteExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_HeatExchangers_test_DiscreteExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005485/0.005485, allocations: 101 kB / 15.73 MB, free: 6.473 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.001215/0.001215, allocations: 195 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06704/0.06704, allocations: 10.99 MB / 280.9 MB, free: 10.15 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01743/0.01743, allocations: 4.251 MB / 334.6 MB, free: 29.02 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001465, allocations: 70.58 kB / 447.1 MB, free: 44.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1053, allocations: 49.73 MB / 496.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger): time 0.03304/0.1384, allocations: 33.47 MB / 0.5179 GB, free: 12.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.44/0.5784, allocations: 145.1 MB / 0.6595 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00049/0.579, allocations: 15.31 kB / 0.6596 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009859/0.58, allocations: 324.1 kB / 0.6599 GB, free: 296 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003891/0.5839, allocations: 1.439 MB / 0.6613 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004372/0.5883, allocations: 1.488 MB / 0.6627 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002543/0.5908, allocations: 2.034 MB / 0.6647 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.592, allocations: 0.5984 MB / 0.6653 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007297/0.5993, allocations: 4.261 MB / 0.6695 GB, free: 8.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006615/0.6059, allocations: 4.093 MB / 0.6735 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003062/0.6063, allocations: 116 kB / 0.6736 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005036/0.6113, allocations: 1.643 MB / 0.6752 GB, free: 2.324 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004701/0.6118, allocations: 331.3 kB / 0.6755 GB, free: 2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008431/0.6127, allocations: 470.3 kB / 0.6759 GB, free: 1.539 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004311/0.617, allocations: 2.214 MB / 0.6781 GB, free: 15.32 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.617, allocations: 0 / 0.6781 GB, free: 15.32 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.617, allocations: 0 / 0.6781 GB, free: 15.32 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.922e-05/0.617, allocations: 4 kB / 0.6781 GB, free: 15.31 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.005357/0.6224, allocations: 1.646 MB / 0.6797 GB, free: 13.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.6225, allocations: 8.031 kB / 0.6797 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.6226, allocations: 115.8 kB / 0.6798 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008661/0.6235, allocations: 128 kB / 0.6799 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008154/0.6243, allocations: 0.5275 MB / 0.6805 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/0.6244, allocations: 45.88 kB / 0.6805 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.6246, allocations: 83.83 kB / 0.6806 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.6268, allocations: 1.314 MB / 0.6819 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.6268, allocations: 0 / 0.6819 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.592e-05/0.6269, allocations: 32 kB / 0.6819 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-05/0.627, allocations: 45.3 kB / 0.6819 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.6292, allocations: 1.465 MB / 0.6834 GB, free: 9.781 MB / 462.1 MB 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.01967/0.6489, allocations: 9.054 MB / 0.6922 GB, free: 156 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.6509, allocations: 1.109 MB / 0.6933 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009905/0.6519, allocations: 0.6952 MB / 0.694 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03087/0.6828, allocations: 11.78 MB / 0.7055 GB, free: 1.605 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.36e-05/0.6829, allocations: 43.12 kB / 0.7055 GB, free: 1.555 MB / 478.1 MB Notification: Performance of pre-optimization done (n=69): time 3.847e-06/0.6829, allocations: 0 / 0.7055 GB, free: 1.555 MB / 478.1 MB Notification: Performance of matching and sorting (n=69): time 0.006008/0.6889, allocations: 2.257 MB / 0.7077 GB, free: 15.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.6891, allocations: 188.5 kB / 0.7079 GB, free: 15.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000761/0.6898, allocations: 473.7 kB / 0.7084 GB, free: 14.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002217/0.6901, allocations: 41.7 kB / 0.7084 GB, free: 14.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.6904, allocations: 307.8 kB / 0.7087 GB, free: 14.19 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003708/0.6908, allocations: 280.2 kB / 0.709 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005032/0.6913, allocations: 214.5 kB / 0.7092 GB, free: 13.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.6914, allocations: 370.8 kB / 0.7095 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.6925, allocations: 0.6774 MB / 0.7102 GB, free: 12.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.6938, allocations: 0.8781 MB / 0.711 GB, free: 11.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002381/0.6962, allocations: 1.594 MB / 0.7126 GB, free: 10.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.6962, allocations: 0 / 0.7126 GB, free: 10.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003137/0.6993, allocations: 1.787 MB / 0.7143 GB, free: 8.242 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.6994, allocations: 8 kB / 0.7143 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.6994, allocations: 4 kB / 0.7143 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003612/0.703, allocations: 461.6 kB / 0.7148 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/0.7052, allocations: 383.3 kB / 0.7151 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/0.7062, allocations: 1.171 MB / 0.7163 GB, free: 6.172 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.7074, allocations: 146.8 kB / 0.7164 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002065/0.7076, allocations: 51.95 kB / 0.7165 GB, free: 5.977 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (120): * Single equations (assignments): 118 * 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,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005138/0.7081, allocations: 245.6 kB / 0.7167 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.7084, allocations: 63.19 kB / 0.7168 GB, free: 5.664 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003251/0.7116, allocations: 2.06 MB / 0.7188 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.7117, allocations: 11.98 kB / 0.7188 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.7117, allocations: 4 kB / 0.7188 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.7117, allocations: 3.984 kB / 0.7188 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004496/0.7162, allocations: 3.14 MB / 0.7219 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.7163, allocations: 0 / 0.7219 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001974/0.7182, allocations: 335.5 kB / 0.7222 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003661/0.7219, allocations: 0.6414 MB / 0.7228 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000239/0.7222, allocations: 43.95 kB / 0.7229 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.7233, allocations: 1.475 MB / 0.7243 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.7233, allocations: 0 / 0.7243 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004435/0.7278, allocations: 2.827 MB / 0.7271 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.728, allocations: 156.2 kB / 0.7272 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.7283, allocations: 35.84 kB / 0.7272 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009401/0.7292, allocations: 71.89 kB / 0.7273 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.7294, allocations: 60.45 kB / 0.7274 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.7295, allocations: 31.95 kB / 0.7274 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005554/0.73, allocations: 402.8 kB / 0.7278 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.914e-06/0.7301, allocations: 3.938 kB / 0.7278 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001599/0.7317, allocations: 427.7 kB / 0.7282 GB, free: 9.77 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 21 (discreteExchanger.E,discreteExchanger.transport_A.u[1,1],discreteExchanger.transport_A.u[2,1],discreteExchanger.transport_A.u[3,1],discreteExchanger.transport_A.u[4,1],discreteExchanger.transport_A.u[5,1],discreteExchanger.transport_A.u[6,1],discreteExchanger.transport_A.u[7,1],discreteExchanger.transport_A.u[8,1],discreteExchanger.transport_A.u[9,1],discreteExchanger.transport_A.u[10,1],discreteExchanger.transport_B.u[1,1],discreteExchanger.transport_B.u[2,1],discreteExchanger.transport_B.u[3,1],discreteExchanger.transport_B.u[4,1],discreteExchanger.transport_B.u[5,1],discreteExchanger.transport_B.u[6,1],discreteExchanger.transport_B.u[7,1],discreteExchanger.transport_B.u[8,1],discreteExchanger.transport_B.u[9,1],discreteExchanger.transport_B.u[10,1]) * 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 (65): * Single equations (assignments): 63 * 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,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005631/0.7373, allocations: 3.548 MB / 0.7317 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003058/0.7404, allocations: 1.606 MB / 0.7332 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/0.7404, allocations: 4 kB / 0.7332 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.7417, allocations: 0.7931 MB / 0.734 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/0.7436, allocations: 282.2 kB / 0.7343 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/0.7588, allocations: 9.811 MB / 0.7439 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007927/0.7596, allocations: 0.9858 MB / 0.7448 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001258/0.7609, allocations: 404.1 kB / 0.7452 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005677/0.7615, allocations: 279.3 kB / 0.7455 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of SimCode: time 2.174e-06/0.7615, allocations: 0 / 0.7455 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06472/0.8262, allocations: 28.5 MB / 0.7733 GB, free: 11.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.36, allocations: 12.03 kB / 0.7733 GB, free: 11.29 MB / 0.545 GB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_HeatExchangers_test_DiscreteExchanger_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_HeatExchangers_test_DiscreteExchanger.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.pipe 2>&1)