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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",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.0009497/0.0009496, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.006185/0.006185, allocations: 172.2 kB / 16.26 MB, free: 6.613 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.418/1.418, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.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.652/1.652, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005235/0.0005235, allocations: 14.62 kB / 0.6744 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2468, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.7161/0.9629, allocations: 248.1 MB / 1.03 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0236/0.9865, allocations: 17.87 MB / 1.048 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002876/0.9895, allocations: 65.56 kB / 1.048 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002847/0.9923, allocations: 0.9067 MB / 1.049 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.009511/1.002, allocations: 3.58 MB / 1.052 GB, free: 8.91 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004271/1.006, allocations: 1.642 MB / 1.054 GB, free: 7.703 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.007574/1.014, allocations: 6.783 MB / 1.06 GB, free: 3.996 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002661/1.016, allocations: 1.497 MB / 1.062 GB, free: 3.066 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004288/1.021, allocations: 1.832 MB / 1.064 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003293/1.024, allocations: 1.481 MB / 1.065 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003621/1.024, allocations: 71.98 kB / 1.065 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005539/1.03, allocations: 2.697 MB / 1.068 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0007158/1.031, allocations: 478.1 kB / 1.068 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001738/1.032, allocations: 0.9886 MB / 1.069 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005846/1.038, allocations: 3.633 MB / 1.073 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.038, allocations: 0 / 1.073 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.134e-06/1.038, allocations: 0 / 1.073 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.795e-05/1.038, allocations: 0 / 1.073 GB, free: 8.188 MB / 0.7794 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.005558/1.044, allocations: 2.097 MB / 1.075 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/1.044, allocations: 8.031 kB / 1.075 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004851/1.045, allocations: 210.7 kB / 1.075 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001928/1.046, allocations: 373.1 kB / 1.075 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003223/1.05, allocations: 1.402 MB / 1.077 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/1.05, allocations: 110.7 kB / 1.077 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/1.05, allocations: 139.9 kB / 1.077 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003152/1.053, allocations: 1.514 MB / 1.079 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/1.053, allocations: 0 / 1.079 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/1.053, allocations: 63.94 kB / 1.079 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.155e-05/1.053, allocations: 54.62 kB / 1.079 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002674/1.056, allocations: 1.166 MB / 1.08 GB, free: 0.8672 MB / 0.7794 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.01165/1.068, allocations: 7.2 MB / 1.087 GB, free: 9.098 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/1.069, allocations: 0.8372 MB / 1.088 GB, free: 8.234 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009356/1.07, allocations: 450.5 kB / 1.088 GB, free: 7.793 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/1.072, allocations: 0.7279 MB / 1.089 GB, free: 6.918 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.758e-05/1.072, allocations: 47.22 kB / 1.089 GB, free: 6.859 MB / 0.795 GB Notification: Performance of pre-optimization done (n=74): time 2.755e-06/1.072, allocations: 0 / 1.089 GB, free: 6.859 MB / 0.795 GB Notification: Performance of matching and sorting (n=74): time 0.006939/1.079, allocations: 2.149 MB / 1.091 GB, free: 4.641 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/1.079, allocations: 60.06 kB / 1.091 GB, free: 4.57 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002318/1.081, allocations: 1.301 MB / 1.092 GB, free: 3.258 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/1.081, allocations: 45.7 kB / 1.092 GB, free: 3.207 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008276/1.082, allocations: 0.7977 MB / 1.093 GB, free: 2.398 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/1.082, allocations: 260.3 kB / 1.093 GB, free: 2.141 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/1.082, allocations: 73.69 kB / 1.093 GB, free: 2.062 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.083, allocations: 337.9 kB / 1.094 GB, free: 1.727 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000673/1.083, allocations: 337.8 kB / 1.094 GB, free: 1.398 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009379/1.084, allocations: 0.5791 MB / 1.095 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/1.086, allocations: 0.8907 MB / 1.095 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/1.086, allocations: 4 kB / 1.095 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002828/1.089, allocations: 1.287 MB / 1.097 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001685/1.089, allocations: 236.7 kB / 1.097 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/1.089, allocations: 7.938 kB / 1.097 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002013/1.091, allocations: 422 kB / 1.097 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/1.091, allocations: 159.7 kB / 1.097 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/1.093, allocations: 2.05 MB / 1.099 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/1.095, allocations: 194.8 kB / 1.1 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.93e-05/1.095, allocations: 36 kB / 1.1 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/1.095, allocations: 4 kB / 1.1 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002151/1.097, allocations: 1.064 MB / 1.101 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/1.097, allocations: 4 kB / 1.101 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/1.099, allocations: 374.3 kB / 1.101 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/1.099, allocations: 155.7 kB / 1.101 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004042/1.103, allocations: 3.86 MB / 1.105 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/1.105, allocations: 179 kB / 1.105 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.443e-05/1.105, allocations: 39.94 kB / 1.105 GB, free: 5.25 MB / 0.8106 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.000932/1.106, allocations: 472.2 kB / 1.106 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004134/1.106, allocations: 154.1 kB / 1.106 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003086/1.109, allocations: 1.214 MB / 1.107 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/1.109, allocations: 8 kB / 1.107 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.11, allocations: 7.938 kB / 1.107 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002631/1.112, allocations: 1.302 MB / 1.108 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005327/1.117, allocations: 2.766 MB / 1.111 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.118, allocations: 4.062 kB / 1.111 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/1.118, allocations: 111.8 kB / 1.111 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001529/1.12, allocations: 366.1 kB / 1.111 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.465e-05/1.12, allocations: 24.08 kB / 1.111 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001666/1.121, allocations: 2.035 MB / 1.113 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.121, allocations: 4.031 kB / 1.113 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/1.123, allocations: 1.233 MB / 1.115 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000828/1.124, allocations: 342.8 kB / 1.115 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/1.125, allocations: 16 kB / 1.115 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/1.126, allocations: 111.9 kB / 1.115 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/1.126, allocations: 56.44 kB / 1.115 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.009e-05/1.126, allocations: 27.98 kB / 1.115 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001451/1.127, allocations: 0.8856 MB / 1.116 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/1.127, allocations: 0 / 1.116 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002778/1.13, allocations: 0.9093 MB / 1.117 GB, free: 8.848 MB / 0.8262 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.003093/1.133, allocations: 2.014 MB / 1.119 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003556/1.137, allocations: 1.676 MB / 1.121 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/1.137, allocations: 4 kB / 1.121 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/1.138, allocations: 474.8 kB / 1.121 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00465/1.143, allocations: 0.789 MB / 1.122 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02205/1.165, allocations: 12.17 MB / 1.134 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/1.166, allocations: 1.348 MB / 1.135 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001479/1.167, allocations: 330.4 kB / 1.135 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007996/1.168, allocations: 0.6321 MB / 1.136 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of SimCode: time 7.41e-07/1.168, allocations: 0 / 1.136 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8205/1.989, allocations: 43.15 MB / 1.178 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/1.989, allocations: 300.8 kB / 1.178 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.06/5.049, allocations: 0 / 1.178 GB, free: 9.887 MB / 0.8887 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)