Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",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.0009571/0.0009571, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0008869/0.0008868, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.227/1.227, allocations: 223.2 MB / 239.9 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.239/2.239, allocations: 409.2 MB / 0.6838 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003408, allocations: 8 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6486/0.649, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.1749/0.824, allocations: 175.8 MB / 1.153 GB, free: 6.07 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01418/0.8382, allocations: 9.79 MB / 1.162 GB, free: 12.26 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/0.8402, allocations: 51.62 kB / 1.162 GB, free: 12.21 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002228/0.8424, allocations: 0.7075 MB / 1.163 GB, free: 11.5 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006442/0.8489, allocations: 2.274 MB / 1.165 GB, free: 9.219 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005238/0.8541, allocations: 1.916 MB / 1.167 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004126/0.8583, allocations: 2.197 MB / 1.169 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.8598, allocations: 1.023 MB / 1.17 GB, free: 4.082 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003162/0.863, allocations: 1.476 MB / 1.171 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.8642, allocations: 0.805 MB / 1.172 GB, free: 1.793 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.8643, allocations: 68 kB / 1.172 GB, free: 1.727 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003779/0.8681, allocations: 1.993 MB / 1.174 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003627/0.8685, allocations: 338.7 kB / 1.175 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004147/0.8689, allocations: 344.8 kB / 1.175 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002632/0.8715, allocations: 2.186 MB / 1.177 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.8715, allocations: 0 / 1.177 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8716, allocations: 0 / 1.177 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.804e-05/0.8716, allocations: 0 / 1.177 GB, free: 12.86 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004197/0.8758, allocations: 2.015 MB / 1.179 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.8758, allocations: 8.031 kB / 1.179 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000188/0.876, allocations: 148.2 kB / 1.179 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00279/0.8788, allocations: 0.5949 MB / 1.18 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002259/0.8811, allocations: 1.173 MB / 1.181 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006211/0.8817, allocations: 218.2 kB / 1.181 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.8819, allocations: 112 kB / 1.181 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/0.8844, allocations: 1.333 MB / 1.183 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.8844, allocations: 3.938 kB / 1.183 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.973e-05/0.8845, allocations: 40 kB / 1.183 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.806e-05/0.8846, allocations: 49.98 kB / 1.183 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002971/0.8875, allocations: 1.382 MB / 1.184 GB, free: 5.645 MB / 0.9356 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.008694/0.8962, allocations: 5.353 MB / 1.189 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.8986, allocations: 1.05 MB / 1.19 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008273/0.8994, allocations: 0.6046 MB / 1.191 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001376/0.9008, allocations: 0.6289 MB / 1.191 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=81): time 2.355e-06/0.9008, allocations: 0 / 1.191 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of matching and sorting (n=81): time 0.004169/0.905, allocations: 1.64 MB / 1.193 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.9051, allocations: 60.06 kB / 1.193 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/0.9067, allocations: 1.326 MB / 1.194 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.9068, allocations: 45.7 kB / 1.194 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004835/0.9073, allocations: 0.6542 MB / 1.195 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.9075, allocations: 279.9 kB / 1.195 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/0.9076, allocations: 20 kB / 1.195 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.9078, allocations: 345.9 kB / 1.196 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.909, allocations: 0.5139 MB / 1.196 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.9104, allocations: 0.7721 MB / 1.197 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.9117, allocations: 0.5902 MB / 1.198 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.9117, allocations: 4 kB / 1.198 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003187/0.9149, allocations: 1.489 MB / 1.199 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007082/0.9156, allocations: 1.904 MB / 1.201 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.9157, allocations: 4 kB / 1.201 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.9157, allocations: 12 kB / 1.201 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/0.9174, allocations: 351.5 kB / 1.201 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009406/0.9183, allocations: 1.203 MB / 1.202 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/0.9206, allocations: 226.7 kB / 1.203 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.9207, allocations: 51.97 kB / 1.203 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.9208, allocations: 8 kB / 1.203 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003326/0.9241, allocations: 1.345 MB / 1.204 GB, free: 432 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.9241, allocations: 8.031 kB / 1.204 GB, free: 424 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.9242, allocations: 12 kB / 1.204 GB, free: 412 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.9256, allocations: 319.5 kB / 1.204 GB, free: 92 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.9256, allocations: 12 kB / 1.204 GB, free: 80 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/0.9276, allocations: 228.4 kB / 1.205 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.9277, allocations: 51.97 kB / 1.205 GB, free: 15.8 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009919/0.9287, allocations: 415 kB / 1.205 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00035/0.9291, allocations: 150.1 kB / 1.205 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003378/0.9324, allocations: 1.363 MB / 1.206 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.9325, allocations: 16 kB / 1.206 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.9325, allocations: 0 / 1.206 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.9325, allocations: 3.984 kB / 1.206 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005209/0.9377, allocations: 2.902 MB / 1.209 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.9378, allocations: 4.469 kB / 1.209 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.9389, allocations: 247.6 kB / 1.21 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.9389, allocations: 8 kB / 1.21 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-05/0.939, allocations: 27.98 kB / 1.21 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005615/0.9395, allocations: 1.195 MB / 1.211 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.9396, allocations: 4 kB / 1.211 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004274/0.9438, allocations: 2.341 MB / 1.213 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007584/0.9446, allocations: 370.8 kB / 1.213 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.9448, allocations: 23.94 kB / 1.213 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.9461, allocations: 160.4 kB / 1.214 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.9462, allocations: 68.52 kB / 1.214 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-05/0.9463, allocations: 35.97 kB / 1.214 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0012/0.9475, allocations: 0.8901 MB / 1.215 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9475, allocations: 3.938 kB / 1.215 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001958/0.9495, allocations: 0.7957 MB / 1.215 GB, free: 4.461 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005651/0.9551, allocations: 4.227 MB / 1.219 GB, free: 120 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004903/0.9601, allocations: 2.104 MB / 1.221 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.9601, allocations: 4.875 kB / 1.221 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.9616, allocations: 0.6447 MB / 1.222 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003225/0.9648, allocations: 0.6731 MB / 1.223 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00736/0.9722, allocations: 7.057 MB / 1.23 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007063/0.9729, allocations: 1.258 MB / 1.231 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001817/0.9747, allocations: 420 kB / 1.231 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007276/0.9755, allocations: 0.5657 MB / 1.232 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of SimCode: time 6.81e-07/0.9755, allocations: 0 / 1.232 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.046/8.021, allocations: 41.43 MB / 1.272 GB, free: 254.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00282/8.024, allocations: 278.5 kB / 1.273 GB, free: 254.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.825/10.85, allocations: 0 / 1.273 GB, free: 254.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat does not exist to compare? outputFormat=mat