Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_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.001436/0.001441, 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.00172/0.00172, allocations: 193.1 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.277/1.277, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.565/2.565, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 65.45 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2398, allocations: 157.4 MB / 1.052 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1508/0.3906, allocations: 166.1 MB / 1.214 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01908/0.4097, allocations: 17.39 MB / 1.231 GB, free: 80 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.4111, allocations: 31.81 kB / 1.231 GB, free: 48 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.4126, allocations: 489 kB / 1.232 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004121/0.4168, allocations: 1.578 MB / 1.233 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003063/0.4199, allocations: 1.285 MB / 1.235 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003263/0.4232, allocations: 3.089 MB / 1.238 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.4255, allocations: 1.799 MB / 1.239 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004457/0.4299, allocations: 1.25 MB / 1.241 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.4314, allocations: 1.093 MB / 1.242 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005869/0.432, allocations: 116 kB / 1.242 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003249/0.4352, allocations: 1.575 MB / 1.243 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008032/0.436, allocations: 0.6968 MB / 1.244 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001528/0.4376, allocations: 1.165 MB / 1.245 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.4784/0.916, allocations: 3.631 MB / 1.249 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.9161, allocations: 1.969 kB / 1.249 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9161, allocations: 0 / 1.249 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.185e-05/0.9161, allocations: 1 kB / 1.249 GB, free: 10.38 MB / 0.9981 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.004483/0.9206, allocations: 2.902 MB / 1.252 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.9207, allocations: 14.25 kB / 1.252 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002825/0.921, allocations: 250.3 kB / 1.252 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003657/0.9246, allocations: 0.5679 MB / 1.252 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003338/0.928, allocations: 3.384 MB / 1.256 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.138e-05/0.9281, allocations: 132.3 kB / 1.256 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.9282, allocations: 171.1 kB / 1.256 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002946/0.9312, allocations: 1.945 MB / 1.258 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.9312, allocations: 2.438 kB / 1.258 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.9314, allocations: 72.23 kB / 1.258 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.9314, allocations: 41.09 kB / 1.258 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003041/0.9345, allocations: 2.094 MB / 1.26 GB, free: 8.203 MB / 0.9981 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.0088/0.9433, allocations: 6.582 MB / 1.266 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003324/0.9466, allocations: 2.093 MB / 1.268 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.948, allocations: 0.7647 MB / 1.269 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004671/0.9485, allocations: 431 kB / 1.27 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001617/0.9501, allocations: 1.005 MB / 1.271 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 2.855e-06/0.9501, allocations: 1.969 kB / 1.271 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006425/0.9566, allocations: 2.964 MB / 1.274 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.9567, allocations: 201.5 kB / 1.274 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004355/0.961, allocations: 4.051 MB / 1.278 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002551/0.9613, allocations: 59.83 kB / 1.278 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005488/0.9618, allocations: 0.8944 MB / 1.279 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/0.9622, allocations: 484.5 kB / 1.279 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003441/0.9625, allocations: 232.9 kB / 1.279 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.19e-05/0.9626, allocations: 361.6 kB / 1.28 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.9636, allocations: 0.565 MB / 1.28 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.9648, allocations: 0.7929 MB / 1.281 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/0.9669, allocations: 1.316 MB / 1.282 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.9669, allocations: 1.094 kB / 1.282 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003542/0.9704, allocations: 1.77 MB / 1.284 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.9705, allocations: 4.812 kB / 1.284 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.9705, allocations: 1.828 kB / 1.284 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009864/0.9715, allocations: 218.7 kB / 1.284 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.9729, allocations: 327.3 kB / 1.285 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004961/0.9778, allocations: 6.81 MB / 1.291 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.9795, allocations: 178.9 kB / 1.291 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.9796, allocations: 48.11 kB / 1.291 GB, free: 12.05 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 (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.0009421/0.9806, allocations: 491.1 kB / 1.292 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003777/0.9809, allocations: 193 kB / 1.292 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003836/0.9848, allocations: 2.14 MB / 1.294 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.9848, allocations: 15.34 kB / 1.294 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.9848, allocations: 6.469 kB / 1.294 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/0.9848, allocations: 9.328 kB / 1.294 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005769/0.9906, allocations: 4.11 MB / 1.298 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.9906, allocations: 0 / 1.298 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/0.9919, allocations: 311.6 kB / 1.298 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008523/0.9928, allocations: 220 kB / 1.299 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.69e-05/0.9929, allocations: 40.19 kB / 1.299 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004829/0.9977, allocations: 6.833 MB / 1.305 GB, free: 4.805 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.9978, allocations: 3 kB / 1.305 GB, free: 4.805 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003604/1.001, allocations: 1.995 MB / 1.307 GB, free: 4.48 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000861/1.002, allocations: 0.5093 MB / 1.308 GB, free: 4.27 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002582/1.003, allocations: 33 kB / 1.308 GB, free: 4.266 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/1.004, allocations: 134.4 kB / 1.308 GB, free: 4.254 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002165/1.004, allocations: 112.1 kB / 1.308 GB, free: 4.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/1.004, allocations: 77.62 kB / 1.308 GB, free: 4.246 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002594/1.007, allocations: 3.12 MB / 1.311 GB, free: 4.137 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.7e-07/1.007, allocations: 4 kB / 1.311 GB, free: 4.133 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001748/1.009, allocations: 0.6851 MB / 1.312 GB, free: 4.031 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 (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.005146/1.014, allocations: 3.204 MB / 1.315 GB, free: 3.07 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002891/1.017, allocations: 2.045 MB / 1.317 GB, free: 2.48 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.017, allocations: 2.906 kB / 1.317 GB, free: 2.48 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001803/1.018, allocations: 1.416 MB / 1.318 GB, free: 1.914 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/1.021, allocations: 0.5265 MB / 1.319 GB, free: 1.875 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02927/1.05, allocations: 23.12 MB / 1.341 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/1.051, allocations: 1.526 MB / 1.343 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001976/1.053, allocations: 0.5265 MB / 1.343 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000983/1.054, allocations: 0.9007 MB / 1.344 GB, free: 10.76 MB / 1.029 GB Notification: Performance of SimCode: time 8.02e-07/1.054, allocations: 1.094 kB / 1.344 GB, free: 10.76 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4378/1.492, allocations: 47.09 MB / 1.39 GB, free: 4.082 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003211/1.492, allocations: 281.2 kB / 1.391 GB, free: 3.703 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.138/4.631, allocations: 4 kB / 1.391 GB, free: 3.699 MB / 1.061 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)