Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.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.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel,fileNamePrefix="Buildings_latest_Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel,fileNamePrefix="Buildings_latest_Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel",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.001646/0.001646, allocations: 99.86 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.002122/0.002122, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.629/2.629, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.519/4.519, allocations: 409.2 MB / 0.6838 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006629/0.0006631, allocations: 8 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702/1.703, allocations: 146.8 MB / 0.9809 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel): time 0.1744/1.878, allocations: 97.06 MB / 1.076 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.05616/1.934, allocations: 18.79 MB / 1.094 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007597/1.942, allocations: 75.44 kB / 1.094 GB, free: 2.066 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01257/1.954, allocations: 1.31 MB / 1.095 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.02774/1.982, allocations: 2.993 MB / 1.098 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.02118/2.003, allocations: 3.029 MB / 1.101 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.02685/2.03, allocations: 5.492 MB / 1.107 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01057/2.041, allocations: 2.978 MB / 1.11 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01342/2.054, allocations: 2.487 MB / 1.112 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009066/2.064, allocations: 1.925 MB / 1.114 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002067/2.066, allocations: 148 kB / 1.114 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01016/2.076, allocations: 1.057 MB / 1.115 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003213/2.079, allocations: 0.7042 MB / 1.116 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004368/2.084, allocations: 0.82 MB / 1.116 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01486/2.099, allocations: 5.214 MB / 1.122 GB, free: 5.859 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/2.099, allocations: 0 / 1.122 GB, free: 5.859 MB / 0.8731 GB Notification: Performance of FrontEnd: time 8.506e-06/2.099, allocations: 0 / 1.122 GB, free: 5.859 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003281/2.099, allocations: 0 / 1.122 GB, free: 5.859 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.02078/2.12, allocations: 3.991 MB / 1.125 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 9.524e-05/2.12, allocations: 8.031 kB / 1.125 GB, free: 1.785 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002654/2.123, allocations: 306.6 kB / 1.126 GB, free: 1.477 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01751/2.14, allocations: 1.813 MB / 1.128 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02548/2.166, allocations: 4.371 MB / 1.132 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001505/2.167, allocations: 335.2 kB / 1.132 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002545/2.17, allocations: 212 kB / 1.132 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01995/2.19, allocations: 3.718 MB / 1.136 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.2e-05/2.19, allocations: 0 / 1.136 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000531/2.191, allocations: 80 kB / 1.136 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001423/2.191, allocations: 67.92 kB / 1.136 GB, free: 6.738 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01826/2.209, allocations: 4.191 MB / 1.14 GB, free: 2.543 MB / 0.8887 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.05363/2.263, allocations: 13.94 MB / 1.154 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01344/2.276, allocations: 2.47 MB / 1.156 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002578/2.279, allocations: 1.244 MB / 1.157 GB, free: 15.95 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007585/2.287, allocations: 1.595 MB / 1.159 GB, free: 14.34 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005722/2.293, allocations: 430.2 kB / 1.159 GB, free: 13.92 MB / 0.92 GB Notification: Performance of pre-optimization done (n=148): time 2.626e-05/2.293, allocations: 0 / 1.159 GB, free: 13.92 MB / 0.92 GB Notification: Performance of matching and sorting (n=148): time 0.02725/2.32, allocations: 4.731 MB / 1.164 GB, free: 9.133 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/2.32, allocations: 68.72 kB / 1.164 GB, free: 9.055 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01772/2.338, allocations: 3.828 MB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001314/2.339, allocations: 61.7 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.005104/2.344, allocations: 1.538 MB / 1.169 GB, free: 3.629 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.002161/2.347, allocations: 0.4967 MB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008392/2.348, allocations: 40 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0005475/2.348, allocations: 377.9 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007324/2.356, allocations: 1.386 MB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00819/2.364, allocations: 1.883 MB / 1.173 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007564/2.371, allocations: 1.573 MB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.09e-05/2.372, allocations: 4 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.02026/2.392, allocations: 3.838 MB / 1.179 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.005561/2.397, allocations: 3.978 MB / 1.183 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.215e-05/2.398, allocations: 12 kB / 1.183 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00217/2.4, allocations: 261.4 kB / 1.183 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005836/2.406, allocations: 0.5733 MB / 1.183 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003857/2.41, allocations: 1.378 MB / 1.185 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008318/2.418, allocations: 391.3 kB / 1.185 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/2.419, allocations: 115.9 kB / 1.185 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/2.419, allocations: 0.9375 kB / 1.185 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01717/2.436, allocations: 3.426 MB / 1.189 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-05/2.436, allocations: 8 kB / 1.189 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/2.438, allocations: 182.4 kB / 1.189 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005091/2.443, allocations: 0.5655 MB / 1.189 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008235/2.451, allocations: 3.704 MB / 1.193 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008956/2.46, allocations: 387.3 kB / 1.193 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00143/2.462, allocations: 111.9 kB / 1.193 GB, free: 10.11 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 8 (chiPar.chi[2].tru.y,chiPar.chi[1].tru.y,$whenCondition1,chiPar.on[2],$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 201 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 4,3 4} Notification: Performance of prepare postOptimizeDAE: time 0.007343/2.469, allocations: 1.352 MB / 1.195 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002914/2.472, allocations: 343.7 kB / 1.195 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02/2.492, allocations: 3.579 MB / 1.199 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001016/2.492, allocations: 23.94 kB / 1.199 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-05/2.492, allocations: 0 / 1.199 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01394/2.506, allocations: 2.958 MB / 1.202 GB, free: 1.789 MB / 0.9512 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 postOpt removeSimpleEquations (simulation): time 0.03816/2.544, allocations: 7.079 MB / 1.208 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.704e-05/2.545, allocations: 4 kB / 1.208 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004109/2.549, allocations: 451.6 kB / 1.209 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007365/2.55, allocations: 161.5 kB / 1.209 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005102/2.55, allocations: 51.97 kB / 1.209 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/2.552, allocations: 1.308 MB / 1.21 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/2.552, allocations: 4 kB / 1.21 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02335/2.576, allocations: 5.402 MB / 1.216 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005417/2.581, allocations: 0.8204 MB / 1.216 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001816/2.583, allocations: 32 kB / 1.216 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006456/2.589, allocations: 337.8 kB / 1.217 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005265/2.59, allocations: 113.2 kB / 1.217 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006133/2.591, allocations: 87.94 kB / 1.217 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.01011/2.601, allocations: 2.707 MB / 1.22 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.153e-06/2.601, allocations: 0 / 1.22 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.01807/2.619, allocations: 1.649 MB / 1.221 GB, free: 13.33 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (chiPar.chi[1].vol1.dynBal.U,chiPar.chi[1].vol2.dynBal.U,chiPar.chi[2].vol1.dynBal.U,chiPar.chi[2].vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,chiPar.on[2],pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 4,3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.02951/2.648, allocations: 6.811 MB / 1.228 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.02848/2.677, allocations: 5.326 MB / 1.233 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.301e-05/2.677, allocations: 4 kB / 1.233 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00809/2.685, allocations: 1.551 MB / 1.235 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02195/2.707, allocations: 2.026 MB / 1.237 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.225/3.932, allocations: 19.87 MB / 1.256 GB, free: 246 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009098/3.941, allocations: 2.895 MB / 1.259 GB, free: 245.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.01426/3.956, allocations: 1.652 MB / 1.26 GB, free: 245.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005151/3.961, allocations: 1.443 MB / 1.262 GB, free: 244.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.643e-06/3.961, allocations: 0.7812 kB / 1.262 GB, free: 244.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2614/4.222, allocations: 107.1 MB / 1.366 GB, free: 154 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004751/4.223, allocations: 296.1 kB / 1.367 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.74/12.96, allocations: 2.812 kB / 1.367 GB, free: 153.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; mkfifo Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe >> ../files/Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel.fmu > Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel_res.mat does not exist to compare? outputFormat=mat