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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001541/0.001541, allocations: 108 kB / 15.6 MB, free: 132 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.001749/0.001749, allocations: 196 kB / 16.54 MB, free: 6.672 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 / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.627/2.627, allocations: 461.9 MB / 0.7347 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 68.3 kB / 0.8992 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2405, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1496/0.3901, allocations: 168.4 MB / 1.217 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01778/0.408, allocations: 17.33 MB / 1.234 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.4091, allocations: 31.81 kB / 1.234 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.4104, allocations: 0.5739 MB / 1.235 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003737/0.4142, allocations: 1.775 MB / 1.237 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002774/0.4169, allocations: 1.427 MB / 1.238 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002287/0.4192, allocations: 2.847 MB / 1.241 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002095/0.4213, allocations: 1.948 MB / 1.243 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002868/0.4242, allocations: 1.408 MB / 1.244 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.4255, allocations: 1.113 MB / 1.245 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003731/0.4258, allocations: 220 kB / 1.245 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002341/0.4282, allocations: 1.521 MB / 1.247 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006175/0.4288, allocations: 0.7984 MB / 1.248 GB, free: 136 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.4474/0.8763, allocations: 1.263 MB / 1.249 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004216/0.8805, allocations: 3.659 MB / 1.252 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.8805, allocations: 0 / 1.252 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8805, allocations: 1.156 kB / 1.252 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.836e-05/0.8806, allocations: 0 / 1.252 GB, free: 8.242 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.004067/0.8847, allocations: 2.9 MB / 1.255 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.8847, allocations: 13.72 kB / 1.255 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002417/0.8849, allocations: 252.7 kB / 1.256 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/0.8883, allocations: 0.5685 MB / 1.256 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/0.8912, allocations: 3.386 MB / 1.259 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.829e-05/0.8913, allocations: 131.6 kB / 1.259 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.8915, allocations: 169.3 kB / 1.26 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/0.8942, allocations: 1.943 MB / 1.262 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.8942, allocations: 0 / 1.262 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.8943, allocations: 75.27 kB / 1.262 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.8944, allocations: 42.34 kB / 1.262 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003374/0.8978, allocations: 2.088 MB / 1.264 GB, free: 6.012 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.008334/0.9061, allocations: 6.609 MB / 1.27 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/0.9093, allocations: 2.094 MB / 1.272 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.9104, allocations: 0.7635 MB / 1.273 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004667/0.9109, allocations: 430.7 kB / 1.273 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001573/0.9125, allocations: 1.004 MB / 1.274 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 2.925e-06/0.9125, allocations: 1.062 kB / 1.274 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006297/0.9188, allocations: 2.966 MB / 1.277 GB, free: 18.18 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.892e-05/0.9189, allocations: 200.7 kB / 1.277 GB, free: 17.96 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003845/0.9227, allocations: 4.049 MB / 1.281 GB, free: 17.79 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001644/0.9229, allocations: 61.09 kB / 1.281 GB, free: 17.76 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005677/0.9235, allocations: 0.8908 MB / 1.282 GB, free: 17.47 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/0.9238, allocations: 479.9 kB / 1.283 GB, free: 17.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003306/0.9241, allocations: 243.3 kB / 1.283 GB, free: 17.14 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.9242, allocations: 351.9 kB / 1.283 GB, free: 16.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009572/0.9252, allocations: 0.573 MB / 1.284 GB, free: 16.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.9263, allocations: 0.7948 MB / 1.285 GB, free: 16.66 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/0.9283, allocations: 1.313 MB / 1.286 GB, free: 16.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.9284, allocations: 0.875 kB / 1.286 GB, free: 16.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003364/0.9317, allocations: 1.765 MB / 1.288 GB, free: 16.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.9317, allocations: 7.625 kB / 1.288 GB, free: 16.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.9318, allocations: 1.203 kB / 1.288 GB, free: 16.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000967/0.9327, allocations: 219.6 kB / 1.288 GB, free: 16.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.9341, allocations: 321.5 kB / 1.288 GB, free: 16.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005411/0.9395, allocations: 7.318 MB / 1.295 GB, free: 9.602 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/0.9415, allocations: 161.9 kB / 1.296 GB, free: 9.543 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.9416, allocations: 51.75 kB / 1.296 GB, free: 9.543 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.001079/0.9427, allocations: 487.4 kB / 1.296 GB, free: 9.426 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003673/0.9431, allocations: 193.3 kB / 1.296 GB, free: 9.328 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003968/0.947, allocations: 2.135 MB / 1.298 GB, free: 9.172 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.9471, allocations: 16.09 kB / 1.298 GB, free: 9.172 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.9471, allocations: 1.375 kB / 1.298 GB, free: 9.172 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.9471, allocations: 11.72 kB / 1.298 GB, free: 9.172 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005748/0.9528, allocations: 4.105 MB / 1.302 GB, free: 8.715 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.9529, allocations: 2.906 kB / 1.302 GB, free: 8.715 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.9542, allocations: 319.1 kB / 1.303 GB, free: 8.715 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008036/0.955, allocations: 208 kB / 1.303 GB, free: 8.676 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.87e-05/0.9551, allocations: 40.53 kB / 1.303 GB, free: 8.676 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004985/0.9601, allocations: 7.36 MB / 1.31 GB, free: 1.906 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.9601, allocations: 0.8125 kB / 1.31 GB, free: 1.906 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003684/0.9638, allocations: 2.001 MB / 1.312 GB, free: 1.586 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009711/0.9648, allocations: 0.507 MB / 1.313 GB, free: 1.375 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004048/0.9652, allocations: 32.09 kB / 1.313 GB, free: 1.371 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.9666, allocations: 108.1 kB / 1.313 GB, free: 1.371 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.9668, allocations: 115.3 kB / 1.313 GB, free: 1.367 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/0.967, allocations: 68.22 kB / 1.313 GB, free: 1.367 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002732/0.9697, allocations: 3.119 MB / 1.316 GB, free: 1.258 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.9e-07/0.9697, allocations: 3.188 kB / 1.316 GB, free: 1.258 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001999/0.9717, allocations: 0.6853 MB / 1.317 GB, free: 1.156 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.0056/0.9773, allocations: 3.21 MB / 1.32 GB, free: 200 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004759/0.9821, allocations: 2.487 MB / 1.322 GB, free: 15.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.9821, allocations: 1.562 kB / 1.322 GB, free: 15.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001809/0.9839, allocations: 1.415 MB / 1.323 GB, free: 15.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003039/0.987, allocations: 0.5508 MB / 1.324 GB, free: 14.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02875/1.016, allocations: 22.35 MB / 1.346 GB, free: 9.656 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/1.017, allocations: 1.529 MB / 1.347 GB, free: 8.906 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002089/1.019, allocations: 0.5295 MB / 1.348 GB, free: 8.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/1.02, allocations: 0.9026 MB / 1.349 GB, free: 8.738 MB / 1.029 GB Notification: Performance of SimCode: time 1.202e-06/1.02, allocations: 0 / 1.349 GB, free: 8.738 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.105/2.125, allocations: 48.51 MB / 1.396 GB, free: 15.7 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/14.83, allocations: 9.609 kB / 1.396 GB, free: 15.69 MB / 1.076 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)