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.001596/0.001597, 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.001765/0.001765, allocations: 198.3 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.272/2.272, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5093/0.5107, allocations: 140.4 MB / 0.9497 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1613/0.6721, allocations: 167.2 MB / 1.113 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.019/0.6911, allocations: 17.22 MB / 1.13 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008204/0.6919, allocations: 35.81 kB / 1.13 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.6932, allocations: 0.5235 MB / 1.13 GB, free: 8.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003596/0.6968, allocations: 1.679 MB / 1.132 GB, free: 6.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.6996, allocations: 1.418 MB / 1.133 GB, free: 5.098 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002213/0.7018, allocations: 2.666 MB / 1.136 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002029/0.7039, allocations: 2.002 MB / 1.138 GB, free: 380 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/0.7068, allocations: 1.38 MB / 1.139 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.7079, allocations: 1.093 MB / 1.14 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003/0.7082, allocations: 220 kB / 1.141 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002475/0.7107, allocations: 1.521 MB / 1.142 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006229/0.7113, allocations: 0.8101 MB / 1.143 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.7124, allocations: 1.232 MB / 1.144 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003447/0.7158, allocations: 3.598 MB / 1.148 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7159, allocations: 0 / 1.148 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7159, allocations: 3.938 kB / 1.148 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.304e-05/0.7159, allocations: 4 kB / 1.148 GB, free: 6.527 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.0042/0.7201, allocations: 2.88 MB / 1.15 GB, free: 3.586 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.7201, allocations: 12.03 kB / 1.15 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002642/0.7204, allocations: 252.9 kB / 1.151 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00351/0.7239, allocations: 0.5628 MB / 1.151 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003423/0.7274, allocations: 3.409 MB / 1.155 GB, free: 15.29 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-05/0.7275, allocations: 123.4 kB / 1.155 GB, free: 15.17 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/0.7277, allocations: 172 kB / 1.155 GB, free: 15 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003012/0.7307, allocations: 1.956 MB / 1.157 GB, free: 12.99 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.7307, allocations: 0 / 1.157 GB, free: 12.99 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001589/0.7309, allocations: 72 kB / 1.157 GB, free: 12.92 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/0.7309, allocations: 44 kB / 1.157 GB, free: 12.88 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003448/0.7344, allocations: 2.117 MB / 1.159 GB, free: 10.76 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.008461/0.7429, allocations: 6.396 MB / 1.165 GB, free: 4.102 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003299/0.7462, allocations: 2.133 MB / 1.167 GB, free: 1.891 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/0.7475, allocations: 0.7763 MB / 1.168 GB, free: 1.113 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005472/0.748, allocations: 425.6 kB / 1.168 GB, free: 0.625 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001686/0.7497, allocations: 1.017 MB / 1.169 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 2.795e-06/0.7497, allocations: 3.938 kB / 1.169 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146): time 0.006676/0.7564, allocations: 2.989 MB / 1.172 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.657e-05/0.7565, allocations: 201.2 kB / 1.172 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004064/0.7606, allocations: 4.081 MB / 1.176 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.7607, allocations: 61.7 kB / 1.177 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007021/0.7614, allocations: 0.8984 MB / 1.177 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003904/0.7618, allocations: 480.8 kB / 1.178 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003747/0.7622, allocations: 238.8 kB / 1.178 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.7624, allocations: 353.9 kB / 1.178 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.7635, allocations: 0.592 MB / 1.179 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.7649, allocations: 0.8047 MB / 1.18 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002416/0.7673, allocations: 1.329 MB / 1.181 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.7673, allocations: 0 / 1.181 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003747/0.771, allocations: 1.803 MB / 1.183 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.7711, allocations: 8 kB / 1.183 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.7711, allocations: 0 / 1.183 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.7721, allocations: 220.1 kB / 1.183 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.7737, allocations: 327.6 kB / 1.183 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006/0.7797, allocations: 7.322 MB / 1.191 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.781, allocations: 166.8 kB / 1.191 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.7811, allocations: 55.95 kB / 1.191 GB, free: 8.684 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.0008013/0.7819, allocations: 485.4 kB / 1.191 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003406/0.7823, allocations: 189.7 kB / 1.191 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004562/0.7869, allocations: 2.161 MB / 1.194 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/0.7869, allocations: 16 kB / 1.194 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.7869, allocations: 0 / 1.194 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.7869, allocations: 7.969 kB / 1.194 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00669/0.7936, allocations: 4.14 MB / 1.198 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.7936, allocations: 0 / 1.198 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/0.7951, allocations: 319.6 kB / 1.198 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009226/0.7961, allocations: 208.1 kB / 1.198 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.7962, allocations: 39.97 kB / 1.198 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005877/0.8021, allocations: 7.363 MB / 1.205 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.8021, allocations: 0 / 1.205 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004034/0.8061, allocations: 2.022 MB / 1.207 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007419/0.8069, allocations: 0.5136 MB / 1.208 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/0.8071, allocations: 32 kB / 1.208 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.8084, allocations: 110 kB / 1.208 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/0.8087, allocations: 117.1 kB / 1.208 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/0.8088, allocations: 67.95 kB / 1.208 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003083/0.8119, allocations: 3.132 MB / 1.211 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8119, allocations: 0 / 1.211 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001515/0.8134, allocations: 0.6702 MB / 1.212 GB, free: 2.234 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.005872/0.8193, allocations: 3.228 MB / 1.215 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005143/0.8245, allocations: 2.508 MB / 1.217 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.016e-06/0.8245, allocations: 8.547 kB / 1.217 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002066/0.8266, allocations: 1.426 MB / 1.219 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/0.8287, allocations: 0.5289 MB / 1.219 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03118/0.8599, allocations: 22.73 MB / 1.242 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/0.8611, allocations: 1.537 MB / 1.243 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001809/0.8629, allocations: 0.5248 MB / 1.244 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.864, allocations: 0.9053 MB / 1.244 GB, free: 8 kB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.864, allocations: 0 / 1.244 GB, free: 8 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.164/2.028, allocations: 48.07 MB / 1.291 GB, free: 284.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/15.44, allocations: 13.23 kB / 1.291 GB, free: 284.4 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)