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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009898/0.0009898, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00803/0.00803, allocations: 170 kB / 16.26 MB, free: 6.613 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.399/1.399, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003091, allocations: 11.98 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5699/0.5702, allocations: 142.4 MB / 0.9552 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1473/0.7175, allocations: 162.7 MB / 1.114 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0196/0.7372, allocations: 17.03 MB / 1.131 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.7383, allocations: 31.75 kB / 1.131 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.7396, allocations: 457.2 kB / 1.131 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00384/0.7434, allocations: 1.494 MB / 1.133 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002808/0.7462, allocations: 1.271 MB / 1.134 GB, free: 7.723 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002796/0.749, allocations: 2.907 MB / 1.137 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/0.7511, allocations: 1.717 MB / 1.138 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004416/0.7556, allocations: 1.088 MB / 1.139 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.7566, allocations: 0.8744 MB / 1.14 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.7567, allocations: 48 kB / 1.14 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002636/0.7594, allocations: 1.52 MB / 1.142 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005106/0.7599, allocations: 0.5992 MB / 1.142 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009811/0.7609, allocations: 1.023 MB / 1.143 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003507/0.7644, allocations: 3.465 MB / 1.147 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.7644, allocations: 0 / 1.147 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7644, allocations: 0 / 1.147 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.215e-05/0.7645, allocations: 0 / 1.147 GB, free: 10.43 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.003898/0.7684, allocations: 2.417 MB / 1.149 GB, free: 7.949 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.7684, allocations: 8.031 kB / 1.149 GB, free: 7.941 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002868/0.7687, allocations: 244.9 kB / 1.149 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003596/0.7723, allocations: 0.5823 MB / 1.15 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003729/0.7761, allocations: 3.394 MB / 1.153 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.603e-05/0.7762, allocations: 131.3 kB / 1.153 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/0.7764, allocations: 172 kB / 1.154 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003289/0.7797, allocations: 1.964 MB / 1.155 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.7797, allocations: 0 / 1.155 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.7799, allocations: 75.98 kB / 1.156 GB, free: 1.273 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.45e-05/0.7799, allocations: 44 kB / 1.156 GB, free: 1.23 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00357/0.7835, allocations: 2.132 MB / 1.158 GB, free: 15.09 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.008672/0.7922, allocations: 6.422 MB / 1.164 GB, free: 8.414 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/0.7956, allocations: 2.141 MB / 1.166 GB, free: 6.199 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.7969, allocations: 0.7842 MB / 1.167 GB, free: 5.418 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005505/0.7975, allocations: 433.6 kB / 1.167 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001754/0.7992, allocations: 1.025 MB / 1.168 GB, free: 3.875 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 2.855e-06/0.7993, allocations: 0 / 1.168 GB, free: 3.875 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006856/0.8061, allocations: 3.032 MB / 1.171 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.8063, allocations: 197.2 kB / 1.171 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005395/0.8117, allocations: 4.073 MB / 1.175 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001961/0.8119, allocations: 65.64 kB / 1.175 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009385/0.8128, allocations: 0.8984 MB / 1.176 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005712/0.8134, allocations: 481 kB / 1.177 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.8136, allocations: 101.7 kB / 1.177 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.8138, allocations: 349.9 kB / 1.177 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.8151, allocations: 0.5921 MB / 1.178 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.8165, allocations: 0.8203 MB / 1.179 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002603/0.8192, allocations: 1.349 MB / 1.18 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.8192, allocations: 0 / 1.18 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004058/0.8232, allocations: 1.826 MB / 1.182 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.8233, allocations: 10.03 kB / 1.182 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.8233, allocations: 0 / 1.182 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.8244, allocations: 212.2 kB / 1.182 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.8261, allocations: 335.5 kB / 1.182 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00601/0.8321, allocations: 6.818 MB / 1.189 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.8337, allocations: 202.6 kB / 1.189 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.8338, allocations: 51.97 kB / 1.189 GB, free: 13.52 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.0009742/0.8348, allocations: 493.3 kB / 1.19 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000375/0.8352, allocations: 189.7 kB / 1.19 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004867/0.84, allocations: 2.181 MB / 1.192 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.8401, allocations: 16 kB / 1.192 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.8401, allocations: 4 kB / 1.192 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.8401, allocations: 7.969 kB / 1.192 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007326/0.8474, allocations: 4.155 MB / 1.196 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.8475, allocations: 3.938 kB / 1.196 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/0.849, allocations: 327.6 kB / 1.196 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.85, allocations: 212 kB / 1.196 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.8501, allocations: 43.97 kB / 1.197 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005593/0.8557, allocations: 6.843 MB / 1.203 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.8558, allocations: 7.969 kB / 1.203 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004193/0.8599, allocations: 2.045 MB / 1.205 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009184/0.8609, allocations: 0.5292 MB / 1.206 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003023/0.8612, allocations: 24 kB / 1.206 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/0.8628, allocations: 155.3 kB / 1.206 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/0.863, allocations: 117.1 kB / 1.206 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/0.8632, allocations: 67.89 kB / 1.206 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003437/0.8666, allocations: 3.132 MB / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8666, allocations: 0 / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00179/0.8684, allocations: 0.6664 MB / 1.21 GB, free: 7.484 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.006165/0.8746, allocations: 3.245 MB / 1.213 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003676/0.8783, allocations: 2.094 MB / 1.215 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.8783, allocations: 4.547 kB / 1.215 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002194/0.8805, allocations: 1.438 MB / 1.216 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/0.8832, allocations: 0.5022 MB / 1.217 GB, free: 236 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03791/0.9211, allocations: 23.61 MB / 1.24 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/0.9225, allocations: 1.533 MB / 1.241 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002096/0.9246, allocations: 0.5287 MB / 1.242 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/0.926, allocations: 0.9052 MB / 1.243 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/0.926, allocations: 0 / 1.243 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7528/1.679, allocations: 45.59 MB / 1.287 GB, free: 258.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/1.679, allocations: 299.2 kB / 1.288 GB, free: 257.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.576/5.255, allocations: 0 / 1.288 GB, free: 257.9 MB / 0.9981 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)