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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001335/0.001335, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001581/0.001581, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.293/1.293, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.268/2.268, allocations: 390.3 MB / 0.6644 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.89 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5545/0.5558, allocations: 140.4 MB / 0.9492 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1555/0.7113, allocations: 164.9 MB / 1.11 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01923/0.7306, allocations: 17 MB / 1.127 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.732, allocations: 31.81 kB / 1.127 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.7336, allocations: 465.2 kB / 1.127 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004317/0.738, allocations: 1.536 MB / 1.129 GB, free: 9.527 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003142/0.7411, allocations: 1.29 MB / 1.13 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002805/0.7439, allocations: 2.661 MB / 1.133 GB, free: 5.582 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002483/0.7464, allocations: 1.998 MB / 1.135 GB, free: 3.535 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004799/0.7512, allocations: 1.384 MB / 1.136 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.7526, allocations: 1.12 MB / 1.137 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004147/0.753, allocations: 220 kB / 1.137 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.7556, allocations: 1.567 MB / 1.139 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000718/0.7564, allocations: 0.8101 MB / 1.14 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.7578, allocations: 1.24 MB / 1.141 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004214/0.762, allocations: 3.641 MB / 1.144 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.762, allocations: 3.938 kB / 1.144 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.123e-06/0.762, allocations: 0 / 1.144 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.983e-05/0.7621, allocations: 0 / 1.144 GB, free: 9.566 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.005026/0.7671, allocations: 2.876 MB / 1.147 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.7672, allocations: 12.03 kB / 1.147 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002632/0.7674, allocations: 244.9 kB / 1.147 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003536/0.771, allocations: 0.5629 MB / 1.148 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003385/0.7744, allocations: 3.393 MB / 1.151 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.804e-05/0.7745, allocations: 131.4 kB / 1.151 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.7747, allocations: 168 kB / 1.152 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002991/0.7777, allocations: 1.944 MB / 1.153 GB, free: 64 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.7777, allocations: 0 / 1.153 GB, free: 64 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.7779, allocations: 72.08 kB / 1.154 GB, free: 15.99 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/0.7779, allocations: 40 kB / 1.154 GB, free: 15.95 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003178/0.7811, allocations: 2.089 MB / 1.156 GB, free: 13.86 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.007791/0.7889, allocations: 6.218 MB / 1.162 GB, free: 7.383 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003017/0.7919, allocations: 2.085 MB / 1.164 GB, free: 5.223 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.7931, allocations: 0.7608 MB / 1.164 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005408/0.7937, allocations: 429.6 kB / 1.165 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001597/0.7953, allocations: 1.009 MB / 1.166 GB, free: 2.938 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 2.605e-06/0.7953, allocations: 0 / 1.166 GB, free: 2.938 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006191/0.8015, allocations: 2.961 MB / 1.169 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.276e-05/0.8016, allocations: 197.2 kB / 1.169 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003938/0.8055, allocations: 4.053 MB / 1.173 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.8057, allocations: 61.7 kB / 1.173 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006501/0.8063, allocations: 0.8943 MB / 1.174 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003497/0.8067, allocations: 481 kB / 1.174 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003638/0.8071, allocations: 238.8 kB / 1.175 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.8072, allocations: 357.9 kB / 1.175 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009984/0.8082, allocations: 0.5726 MB / 1.175 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.8094, allocations: 0.793 MB / 1.176 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/0.8115, allocations: 1.31 MB / 1.177 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.8115, allocations: 0 / 1.177 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00346/0.815, allocations: 1.772 MB / 1.179 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.815, allocations: 8 kB / 1.179 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.815, allocations: 0 / 1.179 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.8161, allocations: 216.2 kB / 1.179 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.8175, allocations: 319.5 kB / 1.18 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005433/0.823, allocations: 7.318 MB / 1.187 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.8243, allocations: 178.7 kB / 1.187 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-05/0.8244, allocations: 51.95 kB / 1.187 GB, free: 12.18 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.0007667/0.8252, allocations: 485.5 kB / 1.188 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003199/0.8255, allocations: 197.7 kB / 1.188 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004258/0.8298, allocations: 2.138 MB / 1.19 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.8298, allocations: 16 kB / 1.19 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8298, allocations: 0 / 1.19 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.8299, allocations: 11.97 kB / 1.19 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006369/0.8362, allocations: 4.122 MB / 1.194 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.8362, allocations: 0 / 1.194 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/0.8377, allocations: 315.6 kB / 1.194 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008906/0.8386, allocations: 204.1 kB / 1.194 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.8387, allocations: 39.97 kB / 1.194 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005367/0.8441, allocations: 7.356 MB / 1.202 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.8441, allocations: 0 / 1.202 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00378/0.8479, allocations: 2.002 MB / 1.204 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008227/0.8487, allocations: 0.5021 MB / 1.204 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/0.849, allocations: 35.92 kB / 1.204 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.8504, allocations: 124.4 kB / 1.204 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/0.8507, allocations: 121.1 kB / 1.204 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/0.8508, allocations: 68.09 kB / 1.204 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003112/0.8539, allocations: 3.12 MB / 1.207 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8539, allocations: 0 / 1.207 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001622/0.8556, allocations: 0.6624 MB / 1.208 GB, free: 5.801 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.005704/0.8613, allocations: 3.209 MB / 1.211 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004922/0.8662, allocations: 2.484 MB / 1.214 GB, free: 196 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.8662, allocations: 4.562 kB / 1.214 GB, free: 192 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001916/0.8682, allocations: 1.415 MB / 1.215 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/0.8703, allocations: 0.5355 MB / 1.216 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03274/0.9031, allocations: 23.23 MB / 1.238 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.9042, allocations: 1.529 MB / 1.24 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001869/0.9061, allocations: 0.5442 MB / 1.24 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/0.9073, allocations: 0.9014 MB / 1.241 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.9074, allocations: 0 / 1.241 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.086/1.994, allocations: 47.42 MB / 1.287 GB, free: 285.1 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/1.994, allocations: 280.4 kB / 1.288 GB, free: 284.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.135/5.129, allocations: 0 / 1.288 GB, free: 284.8 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)