Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.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_CpData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData",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.001749/0.001749, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001983/0.001983, allocations: 192.8 kB / 16.14 MB, free: 6.711 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.278/2.278, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5036/0.5049, allocations: 140.4 MB / 0.949 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1549/0.6597, allocations: 164.9 MB / 1.11 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01872/0.6785, allocations: 17.25 MB / 1.127 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008709/0.6794, allocations: 31.81 kB / 1.127 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.6806, allocations: 457.2 kB / 1.127 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003183/0.6838, allocations: 1.495 MB / 1.129 GB, free: 9.383 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002598/0.6864, allocations: 1.256 MB / 1.13 GB, free: 8.141 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002294/0.6887, allocations: 2.891 MB / 1.133 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001888/0.6906, allocations: 1.868 MB / 1.135 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004127/0.6948, allocations: 1.233 MB / 1.136 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009745/0.6957, allocations: 1.058 MB / 1.137 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002446/0.696, allocations: 120 kB / 1.137 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002381/0.6984, allocations: 1.579 MB / 1.139 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005732/0.699, allocations: 0.7047 MB / 1.139 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000962/0.6999, allocations: 1.126 MB / 1.14 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003137/0.7031, allocations: 3.559 MB / 1.144 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7031, allocations: 0 / 1.144 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7031, allocations: 0 / 1.144 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.839e-05/0.7031, allocations: 0 / 1.144 GB, free: 9.957 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004265/0.7074, allocations: 2.873 MB / 1.147 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.7074, allocations: 12.03 kB / 1.147 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002676/0.7077, allocations: 248.8 kB / 1.147 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003588/0.7113, allocations: 0.5706 MB / 1.147 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003446/0.7148, allocations: 3.386 MB / 1.151 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.329e-05/0.7149, allocations: 127.4 kB / 1.151 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.7151, allocations: 168 kB / 1.151 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/0.7181, allocations: 1.94 MB / 1.153 GB, free: 468 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.7182, allocations: 0 / 1.153 GB, free: 468 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/0.7183, allocations: 76 kB / 1.153 GB, free: 392 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.7184, allocations: 44 kB / 1.153 GB, free: 348 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003339/0.7217, allocations: 2.089 MB / 1.155 GB, free: 14.25 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.007904/0.7296, allocations: 6.215 MB / 1.161 GB, free: 7.773 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/0.7328, allocations: 2.093 MB / 1.163 GB, free: 5.602 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.734, allocations: 0.7608 MB / 1.164 GB, free: 4.844 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005389/0.7345, allocations: 429.6 kB / 1.164 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001603/0.7361, allocations: 1.009 MB / 1.165 GB, free: 3.32 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 2.535e-06/0.7361, allocations: 0 / 1.165 GB, free: 3.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006387/0.7425, allocations: 2.969 MB / 1.168 GB, free: 244 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.856e-05/0.7426, allocations: 193.2 kB / 1.168 GB, free: 4 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003903/0.7465, allocations: 4.049 MB / 1.172 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.7467, allocations: 61.7 kB / 1.172 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006266/0.7473, allocations: 0.8905 MB / 1.173 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/0.7476, allocations: 481 kB / 1.174 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003661/0.748, allocations: 246.8 kB / 1.174 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.7481, allocations: 349.9 kB / 1.174 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.7492, allocations: 0.5726 MB / 1.175 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.7504, allocations: 0.7969 MB / 1.176 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002232/0.7527, allocations: 1.31 MB / 1.177 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.7527, allocations: 0 / 1.177 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003557/0.7563, allocations: 1.772 MB / 1.179 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.7563, allocations: 8 kB / 1.179 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.7563, allocations: 0 / 1.179 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.7574, allocations: 212.2 kB / 1.179 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.7588, allocations: 323.5 kB / 1.179 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005309/0.7642, allocations: 6.791 MB / 1.186 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.7654, allocations: 182.7 kB / 1.186 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.7655, allocations: 51.95 kB / 1.186 GB, free: 13.12 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000673/0.7662, allocations: 493.5 kB / 1.187 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/0.7666, allocations: 193.6 kB / 1.187 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004306/0.7709, allocations: 2.145 MB / 1.189 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.7709, allocations: 16 kB / 1.189 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.7709, allocations: 3.938 kB / 1.189 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.7709, allocations: 7.969 kB / 1.189 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006269/0.7772, allocations: 4.114 MB / 1.193 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.7772, allocations: 0 / 1.193 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/0.7786, allocations: 315.5 kB / 1.193 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009344/0.7795, allocations: 212.1 kB / 1.193 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.7797, allocations: 43.91 kB / 1.193 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005357/0.785, allocations: 6.835 MB / 1.2 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.785, allocations: 0 / 1.2 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003766/0.7888, allocations: 1.995 MB / 1.202 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007067/0.7895, allocations: 0.5176 MB / 1.203 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/0.7898, allocations: 24 kB / 1.203 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.7911, allocations: 134.7 kB / 1.203 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/0.7913, allocations: 113.1 kB / 1.203 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.7915, allocations: 71.95 kB / 1.203 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003016/0.7945, allocations: 3.116 MB / 1.206 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7945, allocations: 3.938 kB / 1.206 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001452/0.7959, allocations: 0.6587 MB / 1.207 GB, free: 7.285 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005581/0.8015, allocations: 3.216 MB / 1.21 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003088/0.8046, allocations: 2.043 MB / 1.212 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.8046, allocations: 4.562 kB / 1.212 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.8066, allocations: 1.411 MB / 1.213 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/0.8086, allocations: 0.4977 MB / 1.214 GB, free: 148 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03122/0.8398, allocations: 23.23 MB / 1.236 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.8409, allocations: 1.525 MB / 1.238 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001789/0.8427, allocations: 0.5442 MB / 1.238 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/0.8439, allocations: 0.9014 MB / 1.239 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of SimCode: time 4.1e-07/0.8439, allocations: 3.938 kB / 1.239 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.826/3.67, allocations: 46.27 MB / 1.284 GB, free: 283.1 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/3.67, allocations: 290.1 kB / 1.285 GB, free: 282.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.788/7.458, allocations: 0 / 1.285 GB, free: 282.7 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)