Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp",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.001004/0.001005, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.007741/0.007741, allocations: 170.4 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.3 MB / 240.3 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.298/2.298, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003079, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/0.5449, allocations: 142.4 MB / 0.9552 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1699/0.7149, allocations: 170.6 MB / 1.122 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01823/0.7332, allocations: 15.36 MB / 1.137 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.7342, allocations: 23.88 kB / 1.137 GB, free: 4.684 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.7356, allocations: 0.4971 MB / 1.137 GB, free: 4.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003413/0.739, allocations: 1.346 MB / 1.139 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003467/0.7425, allocations: 1.48 MB / 1.14 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003371/0.7459, allocations: 3.179 MB / 1.143 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002212/0.7481, allocations: 1.615 MB / 1.145 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003864/0.752, allocations: 1.072 MB / 1.146 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.7531, allocations: 0.8433 MB / 1.147 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.7532, allocations: 51.94 kB / 1.147 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/0.7553, allocations: 1.341 MB / 1.148 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003591/0.7557, allocations: 402.3 kB / 1.148 GB, free: 8.824 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007028/0.7564, allocations: 0.8171 MB / 1.149 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002672/0.7591, allocations: 2.803 MB / 1.152 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.7591, allocations: 0 / 1.152 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7591, allocations: 0 / 1.152 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.627e-05/0.7591, allocations: 0 / 1.152 GB, free: 5.184 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.003245/0.7624, allocations: 1.901 MB / 1.154 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.7624, allocations: 8.031 kB / 1.154 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002746/0.7627, allocations: 240.3 kB / 1.154 GB, free: 2.965 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002979/0.7657, allocations: 481 kB / 1.154 GB, free: 2.492 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.7672, allocations: 1.109 MB / 1.155 GB, free: 1.34 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-05/0.7673, allocations: 115.2 kB / 1.156 GB, free: 1.227 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/0.7675, allocations: 156 kB / 1.156 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002824/0.7704, allocations: 1.788 MB / 1.157 GB, free: 15.21 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.7704, allocations: 3.984 kB / 1.157 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/0.7706, allocations: 72 kB / 1.158 GB, free: 15.13 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.486e-05/0.7706, allocations: 47.98 kB / 1.158 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002987/0.7736, allocations: 1.78 MB / 1.159 GB, free: 13.3 MB / 0.92 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.007381/0.781, allocations: 5.906 MB / 1.165 GB, free: 7.105 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002609/0.7836, allocations: 1.565 MB / 1.167 GB, free: 5.48 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.7846, allocations: 0.5737 MB / 1.167 GB, free: 4.906 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008166/0.7855, allocations: 0.8828 MB / 1.168 GB, free: 3.836 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001367/0.7869, allocations: 0.8088 MB / 1.169 GB, free: 3.008 MB / 0.92 GB Notification: Performance of pre-optimization done (n=126): time 2.414e-06/0.7869, allocations: 0 / 1.169 GB, free: 3.008 MB / 0.92 GB Notification: Performance of matching and sorting (n=126): time 0.004586/0.7915, allocations: 1.906 MB / 1.171 GB, free: 1.074 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.591e-05/0.7916, allocations: 196.9 kB / 1.171 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.7928, allocations: 0.9836 MB / 1.172 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.7929, allocations: 53.7 kB / 1.172 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004783/0.7934, allocations: 0.6529 MB / 1.173 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003174/0.7937, allocations: 421.9 kB / 1.173 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.7938, allocations: 89.67 kB / 1.173 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.794, allocations: 357.9 kB / 1.173 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009002/0.7949, allocations: 430.4 kB / 1.174 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.7959, allocations: 0.5975 MB / 1.174 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.7979, allocations: 1.023 MB / 1.175 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7979, allocations: 0 / 1.175 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002837/0.8008, allocations: 1.312 MB / 1.177 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.8008, allocations: 7.938 kB / 1.177 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.8008, allocations: 4 kB / 1.177 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005944/0.8014, allocations: 88.92 kB / 1.177 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.8027, allocations: 279.6 kB / 1.177 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.8047, allocations: 1.536 MB / 1.179 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.8058, allocations: 168.6 kB / 1.179 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.529e-05/0.8059, allocations: 55.95 kB / 1.179 GB, free: 8.547 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005575/0.8064, allocations: 374.3 kB / 1.179 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.8067, allocations: 142.3 kB / 1.179 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003554/0.8102, allocations: 1.629 MB / 1.181 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.8102, allocations: 12 kB / 1.181 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.8103, allocations: 0 / 1.181 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.8103, allocations: 7.969 kB / 1.181 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005068/0.8154, allocations: 3.177 MB / 1.184 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.8154, allocations: 4 kB / 1.184 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.8167, allocations: 271.7 kB / 1.184 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005314/0.8172, allocations: 80.78 kB / 1.184 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.328e-05/0.8173, allocations: 43.89 kB / 1.184 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.8191, allocations: 1.555 MB / 1.186 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8191, allocations: 0 / 1.186 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004098/0.8232, allocations: 2.188 MB / 1.188 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005493/0.8238, allocations: 410.9 kB / 1.188 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.8239, allocations: 28 kB / 1.188 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.8251, allocations: 136.4 kB / 1.189 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.8253, allocations: 93.31 kB / 1.189 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.8255, allocations: 67.95 kB / 1.189 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008488/0.8263, allocations: 0.684 MB / 1.189 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8263, allocations: 0 / 1.189 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001148/0.8275, allocations: 0.5336 MB / 1.19 GB, free: 12.86 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005779/0.8333, allocations: 3.356 MB / 1.193 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00239/0.8357, allocations: 1.248 MB / 1.194 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.8357, allocations: 448 / 1.194 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001353/0.837, allocations: 0.7713 MB / 1.195 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/0.8394, allocations: 0.5153 MB / 1.196 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01947/0.8589, allocations: 11.63 MB / 1.207 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008898/0.8598, allocations: 1.303 MB / 1.208 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001574/0.8614, allocations: 438.8 kB / 1.209 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009205/0.8623, allocations: 0.6672 MB / 1.209 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/0.8623, allocations: 0 / 1.209 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4458/1.308, allocations: 34.74 MB / 1.243 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003445/1.309, allocations: 277.3 kB / 1.243 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.819/4.127, allocations: 0 / 1.243 GB, free: 6.039 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)