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.001196/0.001196, allocations: 108 kB / 15.6 MB, free: 132 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.001298/0.001298, allocations: 198 kB / 16.53 MB, free: 6.391 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.438/1.438, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06936/0.06936, allocations: 10.99 MB / 280.7 MB, free: 10.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01933/0.01933, allocations: 4.248 MB / 334.4 MB, free: 29.11 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.001901/0.001902, allocations: 71.89 kB / 396.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.272, allocations: 49.73 MB / 446.4 MB, free: 47.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger): time 0.03111/0.3031, allocations: 33.45 MB / 479.9 MB, free: 17.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.4074/0.7106, allocations: 145.1 MB / 0.6103 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007136/0.7113, allocations: 11.47 kB / 0.6103 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.7125, allocations: 316.4 kB / 0.6106 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006002/0.7186, allocations: 1.434 MB / 0.612 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005086/0.7237, allocations: 1.484 MB / 0.6135 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002568/0.7263, allocations: 2.041 MB / 0.6155 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000841/0.7271, allocations: 0.6002 MB / 0.6161 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006375/0.7335, allocations: 4.243 MB / 0.6202 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005481/0.739, allocations: 4.093 MB / 0.6242 GB, free: 8.926 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002448/0.7393, allocations: 120.3 kB / 0.6243 GB, free: 8.926 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004199/0.7435, allocations: 1.609 MB / 0.6259 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004665/0.744, allocations: 330.8 kB / 0.6262 GB, free: 8.516 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007768/0.7448, allocations: 485 kB / 0.6267 GB, free: 8.391 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004027/0.7488, allocations: 2.194 MB / 0.6288 GB, free: 7.188 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.7488, allocations: 0 / 0.6288 GB, free: 7.188 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7489, allocations: 0 / 0.6288 GB, free: 7.188 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.7489, allocations: 0 / 0.6288 GB, free: 7.188 MB / 414.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.005537/0.7544, allocations: 1.651 MB / 0.6304 GB, free: 5.609 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.7545, allocations: 12.03 kB / 0.6304 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.7547, allocations: 111.9 kB / 0.6305 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008873/0.7555, allocations: 134.2 kB / 0.6307 GB, free: 5.398 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008122/0.7564, allocations: 0.5235 MB / 0.6312 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/0.7564, allocations: 46.5 kB / 0.6312 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.7566, allocations: 79.78 kB / 0.6313 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.7587, allocations: 1.321 MB / 0.6326 GB, free: 3.887 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.7588, allocations: 7.938 kB / 0.6326 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.7589, allocations: 28.44 kB / 0.6326 GB, free: 3.871 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-05/0.7589, allocations: 44.86 kB / 0.6327 GB, free: 3.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.7612, allocations: 1.462 MB / 0.6341 GB, free: 2.867 MB / 414.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.01966/0.7809, allocations: 9.077 MB / 0.643 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.7828, allocations: 1.094 MB / 0.644 GB, free: 8.934 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009754/0.7838, allocations: 0.6913 MB / 0.6447 GB, free: 8.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03185/0.8156, allocations: 11.79 MB / 0.6562 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.962e-05/0.8157, allocations: 47.06 kB / 0.6563 GB, free: 11.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 2.604e-06/0.8157, allocations: 0 / 0.6563 GB, free: 11.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.004604/0.8203, allocations: 2.253 MB / 0.6585 GB, free: 9.203 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.8205, allocations: 184.5 kB / 0.6586 GB, free: 8.977 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.821, allocations: 477.7 kB / 0.6591 GB, free: 8.504 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.602e-05/0.8211, allocations: 41.7 kB / 0.6591 GB, free: 8.457 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.8214, allocations: 308.9 kB / 0.6594 GB, free: 8.152 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.8216, allocations: 270.1 kB / 0.6597 GB, free: 7.891 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003682/0.822, allocations: 222.4 kB / 0.6599 GB, free: 7.668 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.8221, allocations: 382.7 kB / 0.6603 GB, free: 7.285 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.8232, allocations: 0.6696 MB / 0.6609 GB, free: 6.613 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.8244, allocations: 0.8819 MB / 0.6618 GB, free: 5.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002233/0.8266, allocations: 1.59 MB / 0.6633 GB, free: 4.012 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.8267, allocations: 7.984 kB / 0.6633 GB, free: 4.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.0029/0.8296, allocations: 1.779 MB / 0.6651 GB, free: 2.207 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.8296, allocations: 8 kB / 0.6651 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.8296, allocations: 4 kB / 0.6651 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0037/0.8333, allocations: 467.9 kB / 0.6655 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/0.8356, allocations: 379.3 kB / 0.6659 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.8367, allocations: 1.171 MB / 0.667 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.8379, allocations: 154.7 kB / 0.6672 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.838, allocations: 47.97 kB / 0.6672 GB, free: 15.94 MB / 462.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.000453/0.8385, allocations: 249.6 kB / 0.6675 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/0.8387, allocations: 67.28 kB / 0.6675 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003197/0.8419, allocations: 2.053 MB / 0.6695 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-05/0.8419, allocations: 11.98 kB / 0.6695 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.842, allocations: 0 / 0.6695 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.842, allocations: 3.984 kB / 0.6695 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00443/0.8464, allocations: 3.127 MB / 0.6726 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.8465, allocations: 4 kB / 0.6726 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002016/0.8485, allocations: 335.5 kB / 0.6729 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0037/0.8522, allocations: 0.6441 MB / 0.6736 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002665/0.8525, allocations: 47.95 kB / 0.6736 GB, free: 9.332 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.8537, allocations: 1.471 MB / 0.675 GB, free: 7.812 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.8537, allocations: 4.031 kB / 0.675 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004088/0.8578, allocations: 2.82 MB / 0.6778 GB, free: 4.953 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/0.8581, allocations: 156.4 kB / 0.6779 GB, free: 4.781 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.8583, allocations: 39.89 kB / 0.678 GB, free: 4.742 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009183/0.8592, allocations: 75.81 kB / 0.6781 GB, free: 4.668 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.8594, allocations: 60.52 kB / 0.6781 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.819e-05/0.8595, allocations: 35.95 kB / 0.6781 GB, free: 4.574 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004816/0.86, allocations: 394.8 kB / 0.6785 GB, free: 4.188 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.86, allocations: 0 / 0.6785 GB, free: 4.188 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001424/0.8614, allocations: 439.7 kB / 0.6789 GB, free: 3.758 MB / 462.1 MB 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.005569/0.867, allocations: 3.556 MB / 0.6824 GB, free: 220 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003206/0.8702, allocations: 1.873 MB / 0.6842 GB, free: 14.34 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.8702, allocations: 0 / 0.6842 GB, free: 14.34 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.8716, allocations: 0.7882 MB / 0.685 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.8732, allocations: 275.7 kB / 0.6853 GB, free: 13.29 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/0.8859, allocations: 10.03 MB / 0.6951 GB, free: 3.016 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/0.8865, allocations: 0.9819 MB / 0.696 GB, free: 2.004 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001122/0.8876, allocations: 398.4 kB / 0.6964 GB, free: 1.617 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004766/0.8881, allocations: 279.3 kB / 0.6967 GB, free: 1.344 MB / 478.1 MB Notification: Performance of SimCode: time 8.62e-07/0.8881, allocations: 0 / 0.6967 GB, free: 1.344 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06757/0.9557, allocations: 28.15 MB / 0.7242 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.79, allocations: 15.86 kB / 0.7242 GB, free: 5.273 MB / 0.4981 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)