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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001009/0.001009, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007819/0.007819, allocations: 172.5 kB / 16.27 MB, free: 6.652 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.349/1.349, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.416/2.416, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003214, allocations: 12.12 kB / 0.8729 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5133/0.5137, allocations: 153.8 MB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1459/0.6596, allocations: 163.9 MB / 1.183 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0185/0.6781, allocations: 17.17 MB / 1.2 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.6793, allocations: 27.81 kB / 1.2 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.6806, allocations: 477 kB / 1.2 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003774/0.6844, allocations: 1.598 MB / 1.202 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.6871, allocations: 1.277 MB / 1.203 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003021/0.6901, allocations: 3.113 MB / 1.206 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/0.6921, allocations: 1.663 MB / 1.208 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003941/0.6961, allocations: 1.119 MB / 1.209 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009006/0.697, allocations: 0.9097 MB / 1.21 GB, free: 0 / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.6971, allocations: 52.05 kB / 1.21 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.6993, allocations: 1.509 MB / 1.211 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004484/0.6998, allocations: 0.5954 MB / 1.212 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008206/0.7006, allocations: 1.066 MB / 1.213 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002861/0.7035, allocations: 3.539 MB / 1.217 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.7035, allocations: 4 kB / 1.217 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7035, allocations: 0 / 1.217 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.704e-05/0.7035, allocations: 0 / 1.217 GB, free: 9.207 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.003534/0.707, allocations: 2.444 MB / 1.219 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.7071, allocations: 12.03 kB / 1.219 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002635/0.7074, allocations: 244.9 kB / 1.219 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003234/0.7106, allocations: 0.5822 MB / 1.22 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003253/0.7139, allocations: 3.382 MB / 1.223 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.436e-05/0.714, allocations: 131.4 kB / 1.223 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.7142, allocations: 172 kB / 1.223 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002871/0.7171, allocations: 1.964 MB / 1.225 GB, free: 112 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.7171, allocations: 0 / 1.225 GB, free: 112 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.7173, allocations: 79.98 kB / 1.225 GB, free: 32 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.814e-05/0.7173, allocations: 44.05 kB / 1.225 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003251/0.7206, allocations: 2.132 MB / 1.227 GB, free: 13.85 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.007956/0.7285, allocations: 6.797 MB / 1.234 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003068/0.7316, allocations: 2.148 MB / 1.236 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.7328, allocations: 0.7841 MB / 1.237 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004844/0.7333, allocations: 425.6 kB / 1.237 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001602/0.7349, allocations: 1.04 MB / 1.238 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 2.394e-06/0.735, allocations: 0 / 1.238 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.006118/0.7411, allocations: 3.032 MB / 1.241 GB, free: 15 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.693e-05/0.7412, allocations: 197.2 kB / 1.241 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003847/0.745, allocations: 4.085 MB / 1.245 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.7452, allocations: 57.7 kB / 1.246 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006312/0.7458, allocations: 0.8984 MB / 1.246 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003269/0.7461, allocations: 484.9 kB / 1.247 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.7463, allocations: 97.66 kB / 1.247 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.7464, allocations: 349.9 kB / 1.247 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.7475, allocations: 0.596 MB / 1.248 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.7487, allocations: 0.8242 MB / 1.249 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002263/0.751, allocations: 1.345 MB / 1.25 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.751, allocations: 4 kB / 1.25 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003466/0.7545, allocations: 1.818 MB / 1.252 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.7545, allocations: 4 kB / 1.252 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.7545, allocations: 4 kB / 1.252 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009726/0.7555, allocations: 212.1 kB / 1.252 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.7569, allocations: 327.6 kB / 1.252 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8253/1.582, allocations: 6.828 MB / 1.259 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/1.584, allocations: 205.1 kB / 1.259 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/1.584, allocations: 52.27 kB / 1.259 GB, free: 224 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.0008191/1.585, allocations: 486.8 kB / 1.26 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/1.585, allocations: 191.8 kB / 1.26 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004361/1.59, allocations: 2.178 MB / 1.262 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/1.59, allocations: 15.12 kB / 1.262 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.59, allocations: 5.641 kB / 1.262 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/1.59, allocations: 7.719 kB / 1.262 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006513/1.596, allocations: 4.159 MB / 1.266 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.596, allocations: 0 / 1.266 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/1.598, allocations: 327.2 kB / 1.266 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008684/1.598, allocations: 210.9 kB / 1.267 GB, free: 222 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.605e-05/1.599, allocations: 45.02 kB / 1.267 GB, free: 222 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00376/1.602, allocations: 6.849 MB / 1.273 GB, free: 215.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.602, allocations: 0 / 1.273 GB, free: 215.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004083/1.606, allocations: 2.04 MB / 1.275 GB, free: 214.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006999/1.607, allocations: 0.5313 MB / 1.276 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/1.607, allocations: 28.14 kB / 1.276 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/1.609, allocations: 155 kB / 1.276 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/1.609, allocations: 117.2 kB / 1.276 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/1.609, allocations: 72.89 kB / 1.276 GB, free: 214 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002746/1.612, allocations: 3.128 MB / 1.279 GB, free: 213 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.612, allocations: 0 / 1.279 GB, free: 213 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001551/1.613, allocations: 0.6936 MB / 1.28 GB, free: 212.9 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.004982/1.618, allocations: 3.257 MB / 1.283 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002882/1.621, allocations: 2.091 MB / 1.285 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/1.621, allocations: 3.188 kB / 1.285 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001672/1.623, allocations: 1.434 MB / 1.287 GB, free: 209.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/1.625, allocations: 0.523 MB / 1.287 GB, free: 209.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0236/1.649, allocations: 23.46 MB / 1.31 GB, free: 191 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006978/1.649, allocations: 1.533 MB / 1.311 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00155/1.651, allocations: 0.5289 MB / 1.312 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008549/1.652, allocations: 0.8975 MB / 1.313 GB, free: 188 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/1.652, allocations: 0 / 1.313 GB, free: 188 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.282/4.933, allocations: 46.41 MB / 1.358 GB, free: 142.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/4.934, allocations: 305.2 kB / 1.358 GB, free: 141.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.043/8.977, allocations: 0 / 1.358 GB, free: 141.8 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)