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.0008941/0.0008942, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0008973/0.0008971, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.4 MB / 222.1 MB, free: 5.473 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.833/1.833, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005259/0.0005259, allocations: 18.72 kB / 0.6738 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2878, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.8989/1.187, allocations: 231.9 MB / 1.014 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02417/1.211, allocations: 16.82 MB / 1.03 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003563/1.215, allocations: 65.09 kB / 1.03 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003171/1.218, allocations: 0.7244 MB / 1.031 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.009473/1.227, allocations: 2.812 MB / 1.034 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004541/1.232, allocations: 1.363 MB / 1.035 GB, free: 6.703 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.008357/1.24, allocations: 5.787 MB / 1.041 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003052/1.243, allocations: 1.291 MB / 1.042 GB, free: 2.516 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004871/1.248, allocations: 1.762 MB / 1.044 GB, free: 1.559 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003112/1.251, allocations: 1.395 MB / 1.045 GB, free: 0.7812 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005582/1.252, allocations: 68.31 kB / 1.045 GB, free: 0.7812 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004991/1.257, allocations: 1.547 MB / 1.047 GB, free: 15.97 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.000961/1.258, allocations: 459.2 kB / 1.047 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001307/1.259, allocations: 434.4 kB / 1.048 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004487/1.264, allocations: 2.591 MB / 1.05 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/1.264, allocations: 2.906 kB / 1.05 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.817e-06/1.264, allocations: 4 kB / 1.05 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001358/1.264, allocations: 0 / 1.05 GB, free: 13.69 MB / 0.7637 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.005428/1.269, allocations: 2.122 MB / 1.052 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/1.269, allocations: 8.875 kB / 1.052 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005572/1.27, allocations: 208.2 kB / 1.052 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/1.272, allocations: 378.6 kB / 1.053 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003247/1.275, allocations: 1.355 MB / 1.054 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/1.275, allocations: 107.6 kB / 1.054 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002607/1.276, allocations: 136 kB / 1.054 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00301/1.279, allocations: 1.51 MB / 1.056 GB, free: 8.863 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/1.279, allocations: 4 kB / 1.056 GB, free: 8.859 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/1.279, allocations: 56 kB / 1.056 GB, free: 8.805 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.427e-05/1.279, allocations: 54.62 kB / 1.056 GB, free: 8.75 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/1.281, allocations: 1.154 MB / 1.057 GB, free: 7.59 MB / 0.7637 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.01074/1.292, allocations: 7.196 MB / 1.064 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/1.293, allocations: 0.8289 MB / 1.065 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000758/1.294, allocations: 442.6 kB / 1.065 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008686/1.295, allocations: 0.7279 MB / 1.066 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/1.295, allocations: 47.22 kB / 1.066 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=74): time 3.747e-06/1.295, allocations: 4 kB / 1.066 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=74): time 0.006201/1.301, allocations: 2.125 MB / 1.068 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/1.301, allocations: 64.05 kB / 1.068 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/1.304, allocations: 1.293 MB / 1.069 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/1.304, allocations: 45.7 kB / 1.069 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007437/1.305, allocations: 0.7938 MB / 1.07 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003009/1.305, allocations: 264.2 kB / 1.071 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/1.305, allocations: 20 kB / 1.071 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.305, allocations: 334 kB / 1.071 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006206/1.306, allocations: 325.8 kB / 1.071 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008/1.307, allocations: 0.5691 MB / 1.072 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007348/1.307, allocations: 418.8 kB / 1.072 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/1.307, allocations: 0 / 1.072 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002574/1.31, allocations: 1.263 MB / 1.073 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002136/1.31, allocations: 240.7 kB / 1.074 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/1.31, allocations: 4 kB / 1.074 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001801/1.312, allocations: 414 kB / 1.074 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000619/1.313, allocations: 159.8 kB / 1.074 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/1.314, allocations: 2.054 MB / 1.076 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/1.316, allocations: 182.9 kB / 1.076 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.656e-05/1.316, allocations: 39.98 kB / 1.076 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/1.316, allocations: 4.625 kB / 1.076 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001934/1.318, allocations: 1.061 MB / 1.077 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/1.318, allocations: 4 kB / 1.077 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/1.319, allocations: 378.3 kB / 1.078 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005929/1.32, allocations: 155.8 kB / 1.078 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003522/1.323, allocations: 3.864 MB / 1.082 GB, free: 12.89 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/1.325, allocations: 175.1 kB / 1.082 GB, free: 12.72 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.726e-05/1.325, allocations: 36 kB / 1.082 GB, free: 12.69 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0008889/1.326, allocations: 476.6 kB / 1.082 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004394/1.326, allocations: 154.1 kB / 1.082 GB, free: 12.06 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/1.329, allocations: 1.202 MB / 1.084 GB, free: 10.84 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/1.329, allocations: 11.94 kB / 1.084 GB, free: 10.82 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/1.329, allocations: 3.984 kB / 1.084 GB, free: 10.82 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002233/1.331, allocations: 1.298 MB / 1.085 GB, free: 9.426 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005138/1.337, allocations: 2.766 MB / 1.088 GB, free: 6.566 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/1.337, allocations: 8.031 kB / 1.088 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004471/1.337, allocations: 99.89 kB / 1.088 GB, free: 6.461 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001365/1.338, allocations: 374.1 kB / 1.088 GB, free: 6.086 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.855e-05/1.339, allocations: 20 kB / 1.088 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/1.34, allocations: 2.031 MB / 1.09 GB, free: 3.961 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.34, allocations: 3.938 kB / 1.09 GB, free: 3.957 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/1.342, allocations: 1.222 MB / 1.091 GB, free: 2.676 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008101/1.343, allocations: 342.9 kB / 1.092 GB, free: 2.32 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003351/1.343, allocations: 15.95 kB / 1.092 GB, free: 2.305 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/1.345, allocations: 119.7 kB / 1.092 GB, free: 2.188 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/1.345, allocations: 56.42 kB / 1.092 GB, free: 2.133 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.519e-05/1.345, allocations: 31.98 kB / 1.092 GB, free: 2.102 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001484/1.346, allocations: 0.87 MB / 1.093 GB, free: 1.234 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/1.346, allocations: 0 / 1.093 GB, free: 1.234 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003092/1.349, allocations: 0.9038 MB / 1.094 GB, free: 336 kB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 20,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002881/1.352, allocations: 1.995 MB / 1.096 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003469/1.356, allocations: 1.673 MB / 1.097 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.356, allocations: 3.938 kB / 1.097 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/1.357, allocations: 482.6 kB / 1.098 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00375/1.361, allocations: 0.7764 MB / 1.098 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/1.378, allocations: 8.939 MB / 1.107 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/1.379, allocations: 1.348 MB / 1.108 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001525/1.38, allocations: 331.2 kB / 1.109 GB, free: 288 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008357/1.381, allocations: 0.6321 MB / 1.109 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of SimCode: time 7.31e-07/1.381, allocations: 0 / 1.109 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07991/1.461, allocations: 44.37 MB / 1.153 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/1.462, allocations: 270.3 kB / 1.153 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.246/4.708, allocations: 0 / 1.153 GB, free: 3.578 MB / 0.8575 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/linux/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) Environment - environmentSimulation: