Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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_Specification,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",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.006453/0.006453, allocations: 102 kB / 15.73 MB, free: 6.035 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.001637/0.001638, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.235/2.235, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 62.36 kB / 0.9504 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.227, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1522/0.3793, allocations: 154 MB / 1.238 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01288/0.3922, allocations: 10.48 MB / 1.248 GB, free: 12.9 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006594/0.3929, allocations: 19.94 kB / 1.248 GB, free: 12.88 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008136/0.3938, allocations: 269.8 kB / 1.248 GB, free: 12.61 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002447/0.3962, allocations: 0.9305 MB / 1.249 GB, free: 11.68 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.3985, allocations: 1.077 MB / 1.25 GB, free: 10.62 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00148/0.4, allocations: 1.644 MB / 1.252 GB, free: 8.969 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.4013, allocations: 1.185 MB / 1.253 GB, free: 7.762 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.4027, allocations: 0.7065 MB / 1.254 GB, free: 7.066 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006041/0.4033, allocations: 0.6068 MB / 1.254 GB, free: 6.457 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.4034, allocations: 132 kB / 1.255 GB, free: 6.328 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.405, allocations: 1.034 MB / 1.256 GB, free: 5.293 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000304/0.4053, allocations: 386.8 kB / 1.256 GB, free: 4.914 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005264/0.4058, allocations: 0.6568 MB / 1.257 GB, free: 4.254 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.4081, allocations: 2.212 MB / 1.259 GB, free: 2.035 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4082, allocations: 0 / 1.259 GB, free: 2.035 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4082, allocations: 0 / 1.259 GB, free: 2.035 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.638e-05/0.4082, allocations: 4 kB / 1.259 GB, free: 2.031 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002868/0.4111, allocations: 1.715 MB / 1.26 GB, free: 264 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.4111, allocations: 12.03 kB / 1.26 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/0.4113, allocations: 148.1 kB / 1.261 GB, free: 96 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4387/0.85, allocations: 267.3 kB / 1.261 GB, free: 174.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.8517, allocations: 1.081 MB / 1.262 GB, free: 174.4 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.406e-05/0.8518, allocations: 78.61 kB / 1.262 GB, free: 174.4 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.852, allocations: 94.34 kB / 1.262 GB, free: 174.4 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/0.8541, allocations: 1.101 MB / 1.263 GB, free: 174.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.8541, allocations: 9.812 kB / 1.263 GB, free: 174.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.896e-05/0.8542, allocations: 40.89 kB / 1.263 GB, free: 174.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.8542, allocations: 24.36 kB / 1.263 GB, free: 174.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/0.8567, allocations: 1.323 MB / 1.264 GB, free: 173.9 MB / 1.014 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.004887/0.8616, allocations: 3.248 MB / 1.268 GB, free: 172.1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/0.8637, allocations: 1.099 MB / 1.269 GB, free: 171.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008127/0.8645, allocations: 425.5 kB / 1.269 GB, free: 171.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/0.8647, allocations: 138.2 kB / 1.269 GB, free: 171.4 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001155/0.8659, allocations: 0.6124 MB / 1.27 GB, free: 171.2 MB / 1.014 GB Notification: Performance of pre-optimization done (n=95): time 2.675e-06/0.8659, allocations: 0 / 1.27 GB, free: 171.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=95): time 0.004654/0.8706, allocations: 1.633 MB / 1.271 GB, free: 170.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.8706, allocations: 191.8 kB / 1.272 GB, free: 170.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.8721, allocations: 1.024 MB / 1.273 GB, free: 169.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.444e-05/0.8722, allocations: 45.98 kB / 1.273 GB, free: 169.8 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/0.8726, allocations: 476.7 kB / 1.273 GB, free: 169.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.8728, allocations: 312.4 kB / 1.273 GB, free: 169.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002653/0.8731, allocations: 168.3 kB / 1.274 GB, free: 169.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.987e-05/0.8731, allocations: 342.6 kB / 1.274 GB, free: 168.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007044/0.8738, allocations: 329 kB / 1.274 GB, free: 168.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008231/0.8747, allocations: 476.8 kB / 1.275 GB, free: 168.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.8761, allocations: 0.7709 MB / 1.275 GB, free: 168.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.8761, allocations: 0 / 1.275 GB, free: 168.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00251/0.8787, allocations: 1.036 MB / 1.276 GB, free: 167.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.8787, allocations: 5.406 kB / 1.276 GB, free: 167.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.8787, allocations: 0.75 kB / 1.276 GB, free: 167.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007522/0.8795, allocations: 118.6 kB / 1.277 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.8805, allocations: 199.2 kB / 1.277 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/0.883, allocations: 3.064 MB / 1.28 GB, free: 164.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008318/0.8839, allocations: 107.6 kB / 1.28 GB, free: 164.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.427e-05/0.884, allocations: 37.3 kB / 1.28 GB, free: 164.7 MB / 1.014 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004575/0.8844, allocations: 304.4 kB / 1.28 GB, free: 164.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/0.8846, allocations: 101 kB / 1.28 GB, free: 164.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003034/0.8877, allocations: 1.325 MB / 1.282 GB, free: 163.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.8877, allocations: 9.781 kB / 1.282 GB, free: 163.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.8877, allocations: 1.859 kB / 1.282 GB, free: 163.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.8877, allocations: 10.92 kB / 1.282 GB, free: 163.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004101/0.8918, allocations: 2.448 MB / 1.284 GB, free: 162.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.8918, allocations: 0 / 1.284 GB, free: 162.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008448/0.8927, allocations: 189.6 kB / 1.284 GB, free: 162.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005698/0.8933, allocations: 106.6 kB / 1.284 GB, free: 162.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-05/0.8934, allocations: 32.23 kB / 1.284 GB, free: 162.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002244/0.8956, allocations: 3.088 MB / 1.287 GB, free: 159.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8956, allocations: 0 / 1.287 GB, free: 159.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.8981, allocations: 1.237 MB / 1.288 GB, free: 159.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004637/0.8986, allocations: 328.9 kB / 1.289 GB, free: 159 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.8988, allocations: 23.59 kB / 1.289 GB, free: 159 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000856/0.8996, allocations: 74.3 kB / 1.289 GB, free: 159 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.8998, allocations: 80.61 kB / 1.289 GB, free: 158.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.66e-05/0.8999, allocations: 48.03 kB / 1.289 GB, free: 158.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000876/0.9008, allocations: 0.751 MB / 1.29 GB, free: 158.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9008, allocations: 0 / 1.29 GB, free: 158.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001162/0.902, allocations: 436.5 kB / 1.29 GB, free: 158.6 MB / 1.014 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.004102/0.9061, allocations: 2.415 MB / 1.293 GB, free: 157.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002109/0.9082, allocations: 1.117 MB / 1.294 GB, free: 156.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9082, allocations: 1.156 kB / 1.294 GB, free: 156.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.9094, allocations: 0.7357 MB / 1.294 GB, free: 156.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.9109, allocations: 346 kB / 1.295 GB, free: 156.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/0.9245, allocations: 8.437 MB / 1.303 GB, free: 152.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005611/0.925, allocations: 1.104 MB / 1.304 GB, free: 151.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009764/0.926, allocations: 315.9 kB / 1.304 GB, free: 151.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005659/0.9266, allocations: 474.2 kB / 1.305 GB, free: 151.4 MB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/0.9266, allocations: 0 / 1.305 GB, free: 151.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7903/1.717, allocations: 27.84 MB / 1.332 GB, free: 127.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/15.11, allocations: 14.42 kB / 1.332 GB, free: 127.7 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)