Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 107.6 kB / 16.37 MB, free: 5.527 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.001192/0.001192, allocations: 189.4 kB / 17.3 MB, free: 5.176 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.46/1.46, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.819/1.819, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.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.001443/0.001443, allocations: 71.89 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2617, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.8163/1.078, allocations: 254 MB / 1.033 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02765/1.106, allocations: 17.97 MB / 1.05 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003949/1.11, allocations: 79.56 kB / 1.05 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003737/1.114, allocations: 1.091 MB / 1.051 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01224/1.126, allocations: 3.82 MB / 1.055 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005431/1.131, allocations: 1.823 MB / 1.057 GB, free: 3.047 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008218/1.14, allocations: 5.041 MB / 1.062 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003167/1.143, allocations: 1.837 MB / 1.064 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006487/1.149, allocations: 2.164 MB / 1.066 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003687/1.153, allocations: 1.525 MB / 1.067 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0007638/1.154, allocations: 184 kB / 1.067 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006673/1.161, allocations: 2.534 MB / 1.07 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001112/1.162, allocations: 0.5919 MB / 1.071 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002826/1.165, allocations: 1.116 MB / 1.072 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00826/1.173, allocations: 3.704 MB / 1.075 GB, free: 284 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.173, allocations: 0 / 1.075 GB, free: 284 kB / 0.8575 GB Notification: Performance of FrontEnd: time 2.635e-06/1.173, allocations: 0 / 1.075 GB, free: 284 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001204/1.173, allocations: 0 / 1.075 GB, free: 284 kB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.006157/1.179, allocations: 2.478 MB / 1.078 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/1.179, allocations: 12.03 kB / 1.078 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/1.181, allocations: 369.1 kB / 1.078 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/1.184, allocations: 1.484 MB / 1.079 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.524e-05/1.184, allocations: 106.7 kB / 1.08 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/1.184, allocations: 140 kB / 1.08 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/1.187, allocations: 1.503 MB / 1.081 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/1.187, allocations: 4 kB / 1.081 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/1.187, allocations: 56 kB / 1.081 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.074e-05/1.187, allocations: 62.56 kB / 1.081 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/1.189, allocations: 1.135 MB / 1.082 GB, free: 8.758 MB / 0.8731 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.009042/1.198, allocations: 7.187 MB / 1.089 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/1.199, allocations: 0.821 MB / 1.09 GB, free: 156 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007463/1.2, allocations: 434.6 kB / 1.091 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/1.201, allocations: 0.7162 MB / 1.091 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/1.201, allocations: 43.22 kB / 1.091 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=74): time 4.198e-06/1.201, allocations: 4 kB / 1.091 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of matching and sorting (n=74): time 0.006567/1.208, allocations: 2.073 MB / 1.093 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/1.208, allocations: 60.05 kB / 1.093 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/1.21, allocations: 1.313 MB / 1.095 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/1.21, allocations: 49.64 kB / 1.095 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006174/1.211, allocations: 0.8016 MB / 1.096 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/1.211, allocations: 256.2 kB / 1.096 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/1.211, allocations: 174.5 kB / 1.096 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.211, allocations: 334 kB / 1.096 GB, free: 9.641 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006447/1.212, allocations: 340.7 kB / 1.097 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008185/1.213, allocations: 0.5591 MB / 1.097 GB, free: 8.656 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/1.214, allocations: 0.8634 MB / 1.098 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/1.214, allocations: 0 / 1.098 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002703/1.217, allocations: 1.268 MB / 1.099 GB, free: 6.449 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/1.217, allocations: 13.34 kB / 1.099 GB, free: 6.438 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/1.217, allocations: 4 kB / 1.099 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001923/1.219, allocations: 410.8 kB / 1.1 GB, free: 6.031 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006177/1.22, allocations: 151.8 kB / 1.1 GB, free: 5.883 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/1.221, allocations: 2.059 MB / 1.102 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/1.223, allocations: 99.53 kB / 1.102 GB, free: 3.648 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-05/1.223, allocations: 39.98 kB / 1.102 GB, free: 3.609 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00126/1.224, allocations: 0.6346 MB / 1.103 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000793/1.225, allocations: 0.563 MB / 1.103 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001323/1.226, allocations: 0.8595 MB / 1.104 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.092e-06/1.226, allocations: 4 kB / 1.104 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002405/1.229, allocations: 1.201 MB / 1.105 GB, free: 172 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.229, allocations: 12.09 kB / 1.105 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.229, allocations: 4 kB / 1.105 GB, free: 156 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/1.23, allocations: 368.9 kB / 1.106 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/1.231, allocations: 151.8 kB / 1.106 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003689/1.234, allocations: 4.194 MB / 1.11 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/1.236, allocations: 95.45 kB / 1.11 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.605e-05/1.236, allocations: 36 kB / 1.11 GB, free: 11.02 MB / 0.9044 GB 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 (79): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,21), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003292/1.236, allocations: 233.1 kB / 1.11 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/1.237, allocations: 150.1 kB / 1.11 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002883/1.239, allocations: 1.19 MB / 1.111 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/1.239, allocations: 8 kB / 1.111 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/1.239, allocations: 3.938 kB / 1.111 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002392/1.242, allocations: 1.287 MB / 1.113 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00464/1.247, allocations: 2.755 MB / 1.115 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/1.247, allocations: 4 kB / 1.115 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/1.247, allocations: 100 kB / 1.115 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/1.248, allocations: 358.4 kB / 1.116 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-05/1.249, allocations: 19.98 kB / 1.116 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/1.25, allocations: 2.027 MB / 1.118 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.25, allocations: 4 kB / 1.118 GB, free: 2.621 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/1.252, allocations: 1.211 MB / 1.119 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006253/1.253, allocations: 323 kB / 1.119 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/1.253, allocations: 20 kB / 1.119 GB, free: 1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008067/1.254, allocations: 43.95 kB / 1.119 GB, free: 0.957 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/1.254, allocations: 52.38 kB / 1.119 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.6e-05/1.254, allocations: 35.98 kB / 1.119 GB, free: 0.8711 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001255/1.255, allocations: 0.8856 MB / 1.12 GB, free: 15.99 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/1.255, allocations: 0 / 1.12 GB, free: 15.99 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002198/1.258, allocations: 0.8843 MB / 1.121 GB, free: 15.1 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,20), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008517/1.258, allocations: 383.7 kB / 1.122 GB, free: 14.73 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00341/1.262, allocations: 1.663 MB / 1.123 GB, free: 13.05 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.262, allocations: 0 / 1.123 GB, free: 13.05 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/1.263, allocations: 469.7 kB / 1.124 GB, free: 12.6 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003607/1.267, allocations: 0.7959 MB / 1.124 GB, free: 11.86 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004485/1.271, allocations: 2.699 MB / 1.127 GB, free: 9.094 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/1.272, allocations: 1.34 MB / 1.128 GB, free: 7.723 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/1.272, allocations: 99.42 kB / 1.128 GB, free: 7.625 MB / 0.92 GB Notification: Performance of SimCode: time 1.112e-06/1.272, allocations: 0 / 1.128 GB, free: 7.625 MB / 0.92 GB Notification: Performance of Templates: time 0.4606/1.733, allocations: 47.77 MB / 1.175 GB, free: 293.8 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)