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.001243/0.001243, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001759/0.001759, allocations: 191.5 kB / 16.14 MB, free: 6.711 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.234/1.234, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.196/2.196, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4723/0.4743, allocations: 140.4 MB / 0.949 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1419/0.6162, allocations: 164.9 MB / 1.11 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01788/0.6342, allocations: 17.27 MB / 1.127 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009562/0.6351, allocations: 27.81 kB / 1.127 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.6365, allocations: 457.2 kB / 1.127 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003413/0.6399, allocations: 1.502 MB / 1.129 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002582/0.6425, allocations: 1.258 MB / 1.13 GB, free: 8.047 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002534/0.645, allocations: 2.907 MB / 1.133 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/0.6469, allocations: 1.864 MB / 1.135 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003916/0.6508, allocations: 1.232 MB / 1.136 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.6519, allocations: 1.073 MB / 1.137 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002451/0.6521, allocations: 124 kB / 1.137 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.6544, allocations: 1.571 MB / 1.139 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005195/0.6549, allocations: 0.7047 MB / 1.139 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000865/0.6558, allocations: 1.134 MB / 1.14 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002887/0.6587, allocations: 3.575 MB / 1.144 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6587, allocations: 4 kB / 1.144 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6587, allocations: 0 / 1.144 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.881e-05/0.6588, allocations: 0 / 1.144 GB, free: 9.809 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.004073/0.6628, allocations: 2.893 MB / 1.147 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.6629, allocations: 12.03 kB / 1.147 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002516/0.6631, allocations: 244.9 kB / 1.147 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00341/0.6666, allocations: 0.5667 MB / 1.148 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003233/0.6698, allocations: 3.393 MB / 1.151 GB, free: 2.578 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.04e-05/0.6699, allocations: 127.4 kB / 1.151 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.6701, allocations: 176 kB / 1.151 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002883/0.673, allocations: 1.956 MB / 1.153 GB, free: 280 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.673, allocations: 0 / 1.153 GB, free: 280 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.6732, allocations: 72 kB / 1.153 GB, free: 208 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/0.6732, allocations: 44 kB / 1.153 GB, free: 164 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003224/0.6764, allocations: 2.117 MB / 1.155 GB, free: 14.04 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.007665/0.6841, allocations: 6.378 MB / 1.161 GB, free: 7.402 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/0.6871, allocations: 2.129 MB / 1.164 GB, free: 5.195 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.6883, allocations: 0.7802 MB / 1.164 GB, free: 4.414 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005022/0.6888, allocations: 433.6 kB / 1.165 GB, free: 3.918 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001569/0.6904, allocations: 1.013 MB / 1.166 GB, free: 2.887 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 2.425e-06/0.6904, allocations: 0 / 1.166 GB, free: 2.887 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006169/0.6966, allocations: 2.996 MB / 1.169 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/0.6967, allocations: 201.2 kB / 1.169 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003683/0.7004, allocations: 4.077 MB / 1.173 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.7005, allocations: 57.7 kB / 1.173 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005959/0.7011, allocations: 0.8984 MB / 1.174 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/0.7014, allocations: 477 kB / 1.174 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003563/0.7018, allocations: 242.8 kB / 1.174 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7019, allocations: 361.9 kB / 1.175 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.703, allocations: 0.5804 MB / 1.175 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.7042, allocations: 0.8125 MB / 1.176 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002212/0.7064, allocations: 1.341 MB / 1.177 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7064, allocations: 0 / 1.177 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003501/0.7099, allocations: 1.795 MB / 1.179 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.71, allocations: 8 kB / 1.179 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.71, allocations: 0 / 1.179 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.711, allocations: 208.2 kB / 1.179 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.7124, allocations: 331.5 kB / 1.18 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004909/0.7174, allocations: 6.806 MB / 1.186 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.7186, allocations: 186.7 kB / 1.187 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.7187, allocations: 51.97 kB / 1.187 GB, free: 12.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.0006536/0.7194, allocations: 489.3 kB / 1.187 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/0.7197, allocations: 189.7 kB / 1.187 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004194/0.7239, allocations: 2.153 MB / 1.189 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.7239, allocations: 16 kB / 1.189 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.7239, allocations: 8 kB / 1.189 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.724, allocations: 7.969 kB / 1.189 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006035/0.73, allocations: 4.139 MB / 1.193 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.73, allocations: 7.938 kB / 1.193 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/0.7314, allocations: 323.5 kB / 1.194 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008634/0.7323, allocations: 204.1 kB / 1.194 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.759e-05/0.7324, allocations: 43.97 kB / 1.194 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004799/0.7372, allocations: 6.838 MB / 1.201 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7372, allocations: 0 / 1.201 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003594/0.7408, allocations: 2.022 MB / 1.203 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006426/0.7414, allocations: 0.5136 MB / 1.203 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/0.7417, allocations: 39.92 kB / 1.203 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.743, allocations: 127.8 kB / 1.203 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/0.7432, allocations: 113.1 kB / 1.203 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/0.7433, allocations: 75.95 kB / 1.203 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002692/0.746, allocations: 3.128 MB / 1.207 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.746, allocations: 0 / 1.207 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001389/0.7474, allocations: 0.678 MB / 1.207 GB, free: 6.586 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.005302/0.7527, allocations: 3.224 MB / 1.21 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002986/0.7557, allocations: 2.07 MB / 1.212 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.7558, allocations: 4.547 kB / 1.212 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001849/0.7576, allocations: 1.422 MB / 1.214 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/0.7596, allocations: 0.4965 MB / 1.214 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03004/0.7896, allocations: 23.51 MB / 1.237 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009722/0.7906, allocations: 1.533 MB / 1.239 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001697/0.7923, allocations: 0.5248 MB / 1.239 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/0.7934, allocations: 0.9014 MB / 1.24 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.7934, allocations: 4 kB / 1.24 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.774/3.568, allocations: 46.62 MB / 1.286 GB, free: 282.3 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/3.568, allocations: 294.3 kB / 1.286 GB, free: 281.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.179/6.747, allocations: 0 / 1.286 GB, free: 281.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)