Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_11_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.001409/0.001409, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 196.8 kB / 16.53 MB, free: 6.664 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 / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.579/2.579, allocations: 469.8 MB / 0.7424 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 65.64 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2568, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1739/0.4307, allocations: 168.4 MB / 1.229 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02107/0.4518, allocations: 17.34 MB / 1.245 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.4531, allocations: 31.81 kB / 1.245 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.4545, allocations: 0.5622 MB / 1.246 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003968/0.4585, allocations: 1.79 MB / 1.248 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.4619/0.9204, allocations: 1.421 MB / 1.249 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003344/0.9238, allocations: 2.847 MB / 1.252 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002002/0.9258, allocations: 1.935 MB / 1.254 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003236/0.9291, allocations: 1.416 MB / 1.255 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009237/0.93, allocations: 1.118 MB / 1.256 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002545/0.9303, allocations: 221.1 kB / 1.257 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.9325, allocations: 1.519 MB / 1.258 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004958/0.933, allocations: 0.792 MB / 1.259 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009911/0.934, allocations: 1.278 MB / 1.26 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003473/0.9375, allocations: 3.652 MB / 1.264 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9375, allocations: 1.641 kB / 1.264 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9375, allocations: 0 / 1.264 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.11e-05/0.9375, allocations: 0.8125 kB / 1.264 GB, free: 5.605 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.004228/0.9417, allocations: 2.914 MB / 1.266 GB, free: 20.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.9418, allocations: 9.406 kB / 1.266 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002618/0.9421, allocations: 252.7 kB / 1.267 GB, free: 20.15 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003422/0.9455, allocations: 0.5617 MB / 1.267 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003496/0.949, allocations: 3.385 MB / 1.271 GB, free: 19.54 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-05/0.9491, allocations: 132 kB / 1.271 GB, free: 19.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002471/0.9493, allocations: 166.1 kB / 1.271 GB, free: 19.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003147/0.9525, allocations: 1.94 MB / 1.273 GB, free: 19.36 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.9525, allocations: 2.188 kB / 1.273 GB, free: 19.36 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.9527, allocations: 70.53 kB / 1.273 GB, free: 19.36 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/0.9527, allocations: 45.5 kB / 1.273 GB, free: 19.36 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003097/0.9558, allocations: 2.088 MB / 1.275 GB, free: 19.34 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.008056/0.9639, allocations: 6.62 MB / 1.281 GB, free: 17.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002869/0.9668, allocations: 2.09 MB / 1.283 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.9679, allocations: 0.7576 MB / 1.284 GB, free: 16.61 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005601/0.9684, allocations: 430.7 kB / 1.285 GB, free: 16.23 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00145/0.9699, allocations: 1.004 MB / 1.286 GB, free: 16.14 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 2.925e-06/0.9699, allocations: 0.7812 kB / 1.286 GB, free: 16.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.006196/0.9761, allocations: 2.967 MB / 1.288 GB, free: 15.46 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001529/0.9763, allocations: 197 kB / 1.289 GB, free: 15.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005443/0.9817, allocations: 4.054 MB / 1.293 GB, free: 15.08 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0006073/0.9824, allocations: 62.2 kB / 1.293 GB, free: 15.05 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007056/0.9831, allocations: 0.8872 MB / 1.293 GB, free: 14.75 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000412/0.9835, allocations: 486.7 kB / 1.294 GB, free: 14.45 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003812/0.9839, allocations: 237.9 kB / 1.294 GB, free: 14.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.9841, allocations: 353.8 kB / 1.295 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.9851, allocations: 0.5662 MB / 1.295 GB, free: 14.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.9861, allocations: 0.8002 MB / 1.296 GB, free: 13.94 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.988, allocations: 1.308 MB / 1.297 GB, free: 13.88 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.988, allocations: 1.031 kB / 1.297 GB, free: 13.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003498/0.9915, allocations: 1.769 MB / 1.299 GB, free: 13.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.9916, allocations: 6.281 kB / 1.299 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.9916, allocations: 0 / 1.299 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009849/0.9926, allocations: 221.2 kB / 1.299 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.9939, allocations: 324.6 kB / 1.299 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005655/0.9995, allocations: 7.32 MB / 1.307 GB, free: 6.852 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/1.001, allocations: 157.2 kB / 1.307 GB, free: 6.801 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.999e-05/1.001, allocations: 51.08 kB / 1.307 GB, free: 6.801 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.000896/1.002, allocations: 495.7 kB / 1.307 GB, free: 6.676 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/1.002, allocations: 192.7 kB / 1.307 GB, free: 6.574 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003698/1.006, allocations: 2.15 MB / 1.309 GB, free: 6.406 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/1.006, allocations: 17.69 kB / 1.31 GB, free: 6.406 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.006, allocations: 0 / 1.31 GB, free: 6.406 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/1.006, allocations: 16.03 kB / 1.31 GB, free: 6.402 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005535/1.012, allocations: 4.095 MB / 1.314 GB, free: 5.953 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/1.012, allocations: 0 / 1.314 GB, free: 5.953 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/1.013, allocations: 314.5 kB / 1.314 GB, free: 5.953 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007792/1.014, allocations: 212.8 kB / 1.314 GB, free: 5.914 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.234e-05/1.014, allocations: 36.95 kB / 1.314 GB, free: 5.914 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005614/1.019, allocations: 7.36 MB / 1.321 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.019, allocations: 0.6562 kB / 1.321 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003636/1.023, allocations: 2 MB / 1.323 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007392/1.024, allocations: 0.5055 MB / 1.324 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/1.024, allocations: 35.94 kB / 1.324 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.025, allocations: 102.6 kB / 1.324 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/1.025, allocations: 114.7 kB / 1.324 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/1.026, allocations: 74.52 kB / 1.324 GB, free: 14.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002386/1.028, allocations: 3.118 MB / 1.327 GB, free: 14.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.2e-07/1.028, allocations: 0 / 1.327 GB, free: 14.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001647/1.03, allocations: 0.6895 MB / 1.328 GB, free: 14.38 MB / 1.029 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.005664/1.035, allocations: 3.196 MB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004572/1.04, allocations: 2.486 MB / 1.333 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.04, allocations: 2.375 kB / 1.333 GB, free: 12.81 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00175/1.042, allocations: 1.422 MB / 1.335 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/1.044, allocations: 0.5561 MB / 1.335 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02697/1.071, allocations: 22.35 MB / 1.357 GB, free: 2.562 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/1.072, allocations: 1.537 MB / 1.359 GB, free: 1.285 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001989/1.074, allocations: 0.5286 MB / 1.359 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/1.075, allocations: 0.8948 MB / 1.36 GB, free: 48 kB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/1.075, allocations: 4 kB / 1.36 GB, free: 44 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6294/1.705, allocations: 48.54 MB / 1.407 GB, free: 1.559 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/15.56, allocations: 3.984 kB / 1.407 GB, free: 1.555 MB / 1.076 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)