Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_Specification,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_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.001328/0.001327, 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.001268/0.001268, allocations: 194.6 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.296/1.296, 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.0.1-master/package.mo): time 2.478/2.478, allocations: 461.9 MB / 0.7346 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 63.66 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2206, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1314/0.352, allocations: 154.5 MB / 1.204 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01156/0.3636, allocations: 10.54 MB / 1.214 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006774/0.3643, allocations: 23.88 kB / 1.214 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007977/0.3652, allocations: 285.6 kB / 1.214 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.3676, allocations: 0.9595 MB / 1.215 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.3697, allocations: 1.079 MB / 1.216 GB, free: 248 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001542/0.3713, allocations: 1.709 MB / 1.218 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.3726, allocations: 1.15 MB / 1.219 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.3741, allocations: 0.7136 MB / 1.22 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006949/0.3748, allocations: 0.6146 MB / 1.22 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.375, allocations: 132 kB / 1.221 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.3765, allocations: 1.003 MB / 1.222 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.3768, allocations: 382.8 kB / 1.222 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006007/0.3774, allocations: 0.6763 MB / 1.223 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.3796, allocations: 2.193 MB / 1.225 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3796, allocations: 0 / 1.225 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3796, allocations: 0 / 1.225 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.3796, allocations: 0 / 1.225 GB, free: 7.648 MB / 0.9825 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.002535/0.3822, allocations: 1.734 MB / 1.226 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.3822, allocations: 8.625 kB / 1.226 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/0.3824, allocations: 160.1 kB / 1.227 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.3838, allocations: 270.1 kB / 1.227 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.3849, allocations: 1.05 MB / 1.228 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/0.385, allocations: 70 kB / 1.228 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.3851, allocations: 96 kB / 1.228 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.3867, allocations: 1.106 MB / 1.229 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.3867, allocations: 7.938 kB / 1.229 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.709e-05/0.3868, allocations: 40 kB / 1.229 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.3868, allocations: 24 kB / 1.229 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.3888, allocations: 1.319 MB / 1.23 GB, free: 1.629 MB / 0.9825 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.004408/0.3932, allocations: 3.51 MB / 1.234 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.395, allocations: 1.107 MB / 1.235 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006896/0.3957, allocations: 419.7 kB / 1.235 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/0.3959, allocations: 142 kB / 1.236 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009451/0.3969, allocations: 0.6138 MB / 1.236 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 2.054e-06/0.3969, allocations: 0 / 1.236 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.003692/0.4006, allocations: 1.635 MB / 1.238 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.227e-05/0.4007, allocations: 192.9 kB / 1.238 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.4017, allocations: 1.025 MB / 1.239 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.101e-05/0.4018, allocations: 49.7 kB / 1.239 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.4021, allocations: 472.5 kB / 1.239 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.4023, allocations: 311.4 kB / 1.24 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.4026, allocations: 174.5 kB / 1.24 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4027, allocations: 338 kB / 1.24 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006559/0.4033, allocations: 333.8 kB / 1.24 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007549/0.4041, allocations: 469.1 kB / 1.241 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.4055, allocations: 0.7687 MB / 1.242 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4055, allocations: 0 / 1.242 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00221/0.4077, allocations: 1.041 MB / 1.243 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.4077, allocations: 11.98 kB / 1.243 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4077, allocations: 0 / 1.243 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000686/0.4084, allocations: 113.7 kB / 1.243 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008306/0.4093, allocations: 195.6 kB / 1.243 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002692/0.412, allocations: 3.075 MB / 1.246 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007856/0.4128, allocations: 115.2 kB / 1.246 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.549e-05/0.4128, allocations: 39.97 kB / 1.246 GB, free: 0.8438 MB / 0.9981 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.0004969/0.4133, allocations: 307.6 kB / 1.246 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.4136, allocations: 102.8 kB / 1.247 GB, free: 444 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4116/0.8252, allocations: 1.319 MB / 1.248 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.8253, allocations: 11.03 kB / 1.248 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8253, allocations: 0.9062 kB / 1.248 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.8253, allocations: 6.578 kB / 1.248 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/0.8291, allocations: 2.443 MB / 1.25 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.8291, allocations: 0 / 1.25 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007858/0.8299, allocations: 185.8 kB / 1.25 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004999/0.8304, allocations: 105.6 kB / 1.251 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.615e-05/0.8305, allocations: 34.42 kB / 1.251 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.8324, allocations: 3.09 MB / 1.254 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.8325, allocations: 0.9375 kB / 1.254 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.8345, allocations: 1.232 MB / 1.255 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.8349, allocations: 320 kB / 1.255 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.835, allocations: 27.98 kB / 1.255 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007629/0.8358, allocations: 75.86 kB / 1.255 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.8359, allocations: 84.45 kB / 1.255 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-05/0.836, allocations: 44.81 kB / 1.255 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006855/0.8367, allocations: 0.7495 MB / 1.256 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.12e-07/0.8367, allocations: 2.5 kB / 1.256 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009435/0.8377, allocations: 451.1 kB / 1.256 GB, free: 189.7 MB / 0.9981 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.00359/0.8413, allocations: 2.391 MB / 1.259 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002492/0.8438, allocations: 1.364 MB / 1.26 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8438, allocations: 3 kB / 1.26 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.8448, allocations: 0.7406 MB / 1.261 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.8461, allocations: 360 kB / 1.261 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.8583, allocations: 8.684 MB / 1.27 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/0.8588, allocations: 1.104 MB / 1.271 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001015/0.8599, allocations: 314.9 kB / 1.271 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005259/0.8604, allocations: 467.5 kB / 1.272 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.8604, allocations: 0 / 1.272 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8867/1.747, allocations: 27.99 MB / 1.299 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/14.07, allocations: 13.3 kB / 1.299 GB, free: 171.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)