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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001506/0.001506, allocations: 108 kB / 15.61 MB, free: 152 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.001724/0.001724, allocations: 194.5 kB / 16.53 MB, free: 6.699 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.393/2.393, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 71.89 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5228/0.5241, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1501/0.6743, allocations: 168.5 MB / 1.182 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01805/0.6924, allocations: 17.35 MB / 1.199 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.6934, allocations: 31.81 kB / 1.199 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.6947, allocations: 0.5777 MB / 1.199 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003533/0.6983, allocations: 1.78 MB / 1.201 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0026/0.7009, allocations: 1.424 MB / 1.203 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002097/0.703, allocations: 2.879 MB / 1.205 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/0.7048, allocations: 1.933 MB / 1.207 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002645/0.7074, allocations: 1.431 MB / 1.209 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009814/0.7084, allocations: 1.117 MB / 1.21 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002724/0.7087, allocations: 224 kB / 1.21 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.7108, allocations: 1.529 MB / 1.211 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005442/0.7114, allocations: 0.7984 MB / 1.212 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009265/0.7123, allocations: 1.279 MB / 1.214 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002936/0.7152, allocations: 3.665 MB / 1.217 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.7153, allocations: 0 / 1.217 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7153, allocations: 0 / 1.217 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.8e-05/0.7153, allocations: 0 / 1.217 GB, free: 5.285 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.003876/0.7192, allocations: 2.923 MB / 1.22 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.7192, allocations: 12.03 kB / 1.22 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002453/0.7195, allocations: 244.9 kB / 1.22 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00338/0.7229, allocations: 0.5745 MB / 1.221 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003117/0.726, allocations: 3.39 MB / 1.224 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.815e-05/0.7261, allocations: 131.4 kB / 1.224 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.7263, allocations: 168 kB / 1.224 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002822/0.7291, allocations: 1.956 MB / 1.226 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.7291, allocations: 4 kB / 1.226 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/0.7293, allocations: 83.92 kB / 1.226 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.091e-05/0.7293, allocations: 40 kB / 1.226 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003239/0.7326, allocations: 2.117 MB / 1.228 GB, free: 9.469 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.007864/0.7405, allocations: 6.767 MB / 1.235 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00309/0.7436, allocations: 2.132 MB / 1.237 GB, free: 156 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.7448, allocations: 0.7768 MB / 1.238 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004916/0.7453, allocations: 425.6 kB / 1.238 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001591/0.7469, allocations: 1.028 MB / 1.239 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 2.394e-06/0.7469, allocations: 0 / 1.239 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006218/0.7531, allocations: 3 MB / 1.242 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.979e-05/0.7532, allocations: 197.2 kB / 1.242 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003657/0.7569, allocations: 4.077 MB / 1.246 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.757, allocations: 61.7 kB / 1.246 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005905/0.7576, allocations: 0.8945 MB / 1.247 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.7579, allocations: 481 kB / 1.248 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000339/0.7583, allocations: 238.8 kB / 1.248 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.7584, allocations: 357.9 kB / 1.248 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.7594, allocations: 0.5843 MB / 1.249 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.7607, allocations: 0.8125 MB / 1.25 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/0.763, allocations: 1.337 MB / 1.251 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.763, allocations: 0 / 1.251 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.3746/1.138, allocations: 1.791 MB / 1.253 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/1.138, allocations: 5.719 kB / 1.253 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/1.138, allocations: 1.469 kB / 1.253 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/1.139, allocations: 207.8 kB / 1.253 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/1.141, allocations: 327.4 kB / 1.253 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004666/1.145, allocations: 7.333 MB / 1.26 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/1.147, allocations: 162.2 kB / 1.261 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/1.147, allocations: 53.11 kB / 1.261 GB, free: 223.9 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.0009338/1.148, allocations: 498.6 kB / 1.261 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004941/1.148, allocations: 192.4 kB / 1.261 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004696/1.153, allocations: 2.154 MB / 1.263 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/1.153, allocations: 17.36 kB / 1.263 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.153, allocations: 2.156 kB / 1.263 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/1.153, allocations: 8.469 kB / 1.263 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006756/1.16, allocations: 4.135 MB / 1.267 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.16, allocations: 0.625 kB / 1.267 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/1.162, allocations: 321.5 kB / 1.268 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009048/1.163, allocations: 199 kB / 1.268 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/1.163, allocations: 41.31 kB / 1.268 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004456/1.167, allocations: 7.365 MB / 1.275 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.167, allocations: 4 kB / 1.275 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00421/1.171, allocations: 2.019 MB / 1.277 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008111/1.172, allocations: 0.5101 MB / 1.278 GB, free: 213 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/1.172, allocations: 32.84 kB / 1.278 GB, free: 213 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/1.174, allocations: 113.8 kB / 1.278 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00025/1.174, allocations: 112.1 kB / 1.278 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.174, allocations: 69.64 kB / 1.278 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002923/1.177, allocations: 3.139 MB / 1.281 GB, free: 211.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.71e-07/1.177, allocations: 0 / 1.281 GB, free: 211.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001648/1.179, allocations: 0.692 MB / 1.282 GB, free: 211.7 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.005344/1.184, allocations: 3.228 MB / 1.285 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004738/1.189, allocations: 2.508 MB / 1.287 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.189, allocations: 4.469 kB / 1.287 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002039/1.191, allocations: 1.422 MB / 1.289 GB, free: 208.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/1.194, allocations: 0.5679 MB / 1.289 GB, free: 208.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03096/1.225, allocations: 22.63 MB / 1.311 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007373/1.226, allocations: 1.533 MB / 1.313 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001598/1.228, allocations: 0.5289 MB / 1.313 GB, free: 187 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008659/1.228, allocations: 0.8975 MB / 1.314 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of SimCode: time 4.3e-07/1.228, allocations: 0 / 1.314 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.043/3.271, allocations: 48.91 MB / 1.362 GB, free: 137.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.63/18.9, allocations: 11.25 kB / 1.362 GB, free: 137.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)