Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",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.001396/0.001396, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001485/0.001485, allocations: 190.4 kB / 16.25 MB, free: 6.637 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.332/1.332, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.384/2.384, allocations: 437 MB / 0.7101 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 59.89 kB / 0.8688 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4585, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1336/0.5921, allocations: 166.2 MB / 1.179 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0166/0.6087, allocations: 17.17 MB / 1.196 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.6098, allocations: 27.81 kB / 1.196 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.6111, allocations: 0.4931 MB / 1.196 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003603/0.6147, allocations: 1.627 MB / 1.198 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.6173, allocations: 1.295 MB / 1.199 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002489/0.6198, allocations: 2.887 MB / 1.202 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/0.6218, allocations: 1.948 MB / 1.204 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004216/0.626, allocations: 1.435 MB / 1.205 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.6272, allocations: 1.152 MB / 1.207 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003287/0.6275, allocations: 224 kB / 1.207 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.6295, allocations: 1.564 MB / 1.208 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005777/0.6301, allocations: 0.7984 MB / 1.209 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.6313, allocations: 1.286 MB / 1.21 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003182/0.6344, allocations: 3.723 MB / 1.214 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6345, allocations: 4 kB / 1.214 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6345, allocations: 4 kB / 1.214 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.974e-05/0.6345, allocations: 0 / 1.214 GB, free: 8.219 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004244/0.6388, allocations: 2.926 MB / 1.217 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.6388, allocations: 8.031 kB / 1.217 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002292/0.639, allocations: 244.9 kB / 1.217 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00324/0.6423, allocations: 0.5745 MB / 1.218 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002913/0.6452, allocations: 3.394 MB / 1.221 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.233e-05/0.6453, allocations: 127.4 kB / 1.221 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.6455, allocations: 172 kB / 1.221 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002748/0.6483, allocations: 1.952 MB / 1.223 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.6483, allocations: 3.938 kB / 1.223 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/0.6484, allocations: 76 kB / 1.223 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.6485, allocations: 40 kB / 1.223 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002983/0.6515, allocations: 2.117 MB / 1.225 GB, free: 12.41 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.007404/0.6589, allocations: 6.75 MB / 1.232 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/0.6617, allocations: 2.131 MB / 1.234 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.6629, allocations: 0.7646 MB / 1.235 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004819/0.6633, allocations: 433.6 kB / 1.235 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001517/0.6649, allocations: 1.02 MB / 1.236 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 2.475e-06/0.6649, allocations: 0 / 1.236 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.00582/0.6707, allocations: 3 MB / 1.239 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/0.6708, allocations: 201.2 kB / 1.239 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003559/0.6744, allocations: 4.077 MB / 1.243 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.6745, allocations: 61.7 kB / 1.243 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005571/0.6751, allocations: 0.8945 MB / 1.244 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003021/0.6754, allocations: 485 kB / 1.245 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000346/0.6757, allocations: 242.8 kB / 1.245 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6758, allocations: 349.9 kB / 1.245 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009954/0.6768, allocations: 0.5843 MB / 1.246 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.678, allocations: 0.8094 MB / 1.247 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.6801, allocations: 1.337 MB / 1.248 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6801, allocations: 3.938 kB / 1.248 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003343/0.6835, allocations: 1.799 MB / 1.25 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.6835, allocations: 7.938 kB / 1.25 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.6835, allocations: 4.062 kB / 1.25 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009606/0.6845, allocations: 216 kB / 1.25 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.6859, allocations: 327.6 kB / 1.25 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3673/1.053, allocations: 7.332 MB / 1.257 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/1.055, allocations: 182.9 kB / 1.258 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/1.055, allocations: 52.73 kB / 1.258 GB, free: 225.4 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 (145): * Single equations (assignments): 140 * 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.0007928/1.056, allocations: 487 kB / 1.258 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003144/1.056, allocations: 193.2 kB / 1.258 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004238/1.06, allocations: 2.165 MB / 1.26 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/1.06, allocations: 15.47 kB / 1.26 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.06, allocations: 2.188 kB / 1.26 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/1.06, allocations: 8.016 kB / 1.26 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00609/1.066, allocations: 4.141 MB / 1.264 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/1.067, allocations: 0 / 1.264 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/1.068, allocations: 318.1 kB / 1.265 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007686/1.069, allocations: 202.2 kB / 1.265 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.066e-05/1.069, allocations: 41.44 kB / 1.265 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003899/1.073, allocations: 7.358 MB / 1.272 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.073, allocations: 4.469 kB / 1.272 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003923/1.077, allocations: 2.021 MB / 1.274 GB, free: 215.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005926/1.077, allocations: 0.5099 MB / 1.275 GB, free: 214.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/1.077, allocations: 32.94 kB / 1.275 GB, free: 214.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/1.079, allocations: 140.1 kB / 1.275 GB, free: 214.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/1.079, allocations: 117.6 kB / 1.275 GB, free: 214.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/1.079, allocations: 68.95 kB / 1.275 GB, free: 214.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002573/1.082, allocations: 3.135 MB / 1.278 GB, free: 213.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.082, allocations: 3.125 kB / 1.278 GB, free: 213.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001496/1.083, allocations: 0.6879 MB / 1.279 GB, free: 213.5 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 (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.004848/1.088, allocations: 3.23 MB / 1.282 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004349/1.092, allocations: 2.51 MB / 1.284 GB, free: 211.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.092, allocations: 2.812 kB / 1.284 GB, free: 211.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001595/1.094, allocations: 1.426 MB / 1.286 GB, free: 210.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/1.096, allocations: 0.5503 MB / 1.286 GB, free: 210 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02251/1.118, allocations: 23.42 MB / 1.309 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/1.119, allocations: 1.533 MB / 1.311 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00154/1.121, allocations: 0.5212 MB / 1.311 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008588/1.121, allocations: 0.9053 MB / 1.312 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/1.121, allocations: 0 / 1.312 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.889/3.01, allocations: 48.62 MB / 1.359 GB, free: 139.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/3.01, allocations: 297.1 kB / 1.36 GB, free: 139.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.287/7.297, allocations: 0 / 1.36 GB, free: 139.5 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)