Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_9_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.001481/0.001482, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001716/0.001716, allocations: 199.7 kB / 16.26 MB, free: 6.629 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.291/1.291, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 390.2 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 63.91 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5747/0.5761, allocations: 140.4 MB / 0.9492 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1518/0.7279, allocations: 164.9 MB / 1.11 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0183/0.7463, allocations: 17.01 MB / 1.127 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.7478, allocations: 31.81 kB / 1.127 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.7498, allocations: 469.2 kB / 1.127 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00537/0.7552, allocations: 1.539 MB / 1.129 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003222/0.7584, allocations: 1.285 MB / 1.13 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002826/0.7613, allocations: 2.678 MB / 1.133 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002491/0.7638, allocations: 2.01 MB / 1.135 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004767/0.7686, allocations: 1.395 MB / 1.136 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.77, allocations: 1.128 MB / 1.137 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005072/0.7705, allocations: 224 kB / 1.137 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002543/0.773, allocations: 1.56 MB / 1.139 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007928/0.7738, allocations: 0.8023 MB / 1.14 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.775, allocations: 1.24 MB / 1.141 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003632/0.7786, allocations: 3.672 MB / 1.145 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.7786, allocations: 0 / 1.145 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7786, allocations: 0 / 1.145 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.241e-05/0.7787, allocations: 0 / 1.145 GB, free: 9.418 MB / 0.9044 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.004254/0.7829, allocations: 2.892 MB / 1.147 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.783, allocations: 8.031 kB / 1.147 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002603/0.7832, allocations: 252.8 kB / 1.148 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003604/0.7868, allocations: 0.5667 MB / 1.148 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003556/0.7904, allocations: 3.39 MB / 1.151 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-05/0.7905, allocations: 139.4 kB / 1.152 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002249/0.7907, allocations: 164 kB / 1.152 GB, free: 1.891 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0032/0.7939, allocations: 1.956 MB / 1.154 GB, free: 15.88 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.794, allocations: 0 / 1.154 GB, free: 15.88 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.7942, allocations: 75.98 kB / 1.154 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/0.7942, allocations: 40 kB / 1.154 GB, free: 15.77 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003268/0.7975, allocations: 2.12 MB / 1.156 GB, free: 13.64 MB / 0.92 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.008257/0.8057, allocations: 6.379 MB / 1.162 GB, free: 7.004 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003028/0.8088, allocations: 2.136 MB / 1.164 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.81, allocations: 0.7685 MB / 1.165 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005298/0.8105, allocations: 429.6 kB / 1.165 GB, free: 3.527 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001649/0.8122, allocations: 1.013 MB / 1.166 GB, free: 2.496 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 3.286e-06/0.8122, allocations: 0 / 1.166 GB, free: 2.496 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006451/0.8186, allocations: 2.996 MB / 1.169 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.8188, allocations: 197.2 kB / 1.169 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004317/0.8231, allocations: 4.077 MB / 1.173 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/0.8232, allocations: 61.69 kB / 1.173 GB, free: 11 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007301/0.824, allocations: 0.8984 MB / 1.174 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003936/0.8244, allocations: 484.9 kB / 1.175 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003867/0.8248, allocations: 238.8 kB / 1.175 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.8249, allocations: 357.9 kB / 1.175 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.826, allocations: 0.5765 MB / 1.176 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.8273, allocations: 0.8086 MB / 1.177 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/0.8296, allocations: 1.337 MB / 1.178 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.8296, allocations: 4 kB / 1.178 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00373/0.8333, allocations: 1.799 MB / 1.18 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.8333, allocations: 4 kB / 1.18 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.8334, allocations: 4 kB / 1.18 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.8344, allocations: 216.1 kB / 1.18 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.8359, allocations: 331.6 kB / 1.18 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005569/0.8415, allocations: 7.318 MB / 1.187 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.843, allocations: 186.7 kB / 1.188 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.8432, allocations: 47.97 kB / 1.188 GB, free: 11.58 MB / 0.9512 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.0009388/0.8441, allocations: 497.3 kB / 1.188 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004911/0.8446, allocations: 193.6 kB / 1.188 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004667/0.8493, allocations: 2.157 MB / 1.19 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.8493, allocations: 16 kB / 1.19 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.8494, allocations: 4 kB / 1.19 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.8494, allocations: 7.969 kB / 1.19 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007541/0.8569, allocations: 4.135 MB / 1.194 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.8569, allocations: 3.984 kB / 1.195 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.8585, allocations: 323.5 kB / 1.195 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009347/0.8594, allocations: 196.1 kB / 1.195 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/0.8596, allocations: 43.95 kB / 1.195 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005959/0.8655, allocations: 7.356 MB / 1.202 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.8655, allocations: 0 / 1.202 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004384/0.8699, allocations: 2.026 MB / 1.204 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.871, allocations: 0.5098 MB / 1.205 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003863/0.8714, allocations: 31.98 kB / 1.205 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/0.873, allocations: 130.1 kB / 1.205 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002574/0.8733, allocations: 117.1 kB / 1.205 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001776/0.8735, allocations: 75.94 kB / 1.205 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00332/0.8768, allocations: 3.132 MB / 1.208 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8768, allocations: 0 / 1.208 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001971/0.8788, allocations: 0.6664 MB / 1.209 GB, free: 5.105 MB / 0.9669 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.006226/0.885, allocations: 3.237 MB / 1.212 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005355/0.8904, allocations: 2.512 MB / 1.214 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.8904, allocations: 4.547 kB / 1.214 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002232/0.8926, allocations: 1.43 MB / 1.216 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002868/0.8955, allocations: 0.5343 MB / 1.216 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03597/0.9315, allocations: 23.51 MB / 1.239 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.9329, allocations: 1.533 MB / 1.241 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00216/0.9351, allocations: 0.5209 MB / 1.241 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001338/0.9364, allocations: 0.9053 MB / 1.242 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.9364, allocations: 0 / 1.242 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.452/5.389, allocations: 47.79 MB / 1.289 GB, free: 284.3 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/5.389, allocations: 297.3 kB / 1.289 GB, free: 283.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.303/8.692, allocations: 0 / 1.289 GB, free: 283.9 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)