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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001266/0.001266, 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.001356/0.001356, allocations: 196.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.275/1.275, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.364/2.364, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4425, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1348/0.5773, allocations: 166.1 MB / 1.179 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01692/0.5943, allocations: 17.42 MB / 1.196 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.5953, allocations: 27.81 kB / 1.196 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.5966, allocations: 485 kB / 1.196 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003366/0.6, allocations: 1.591 MB / 1.198 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.6024, allocations: 1.277 MB / 1.199 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002454/0.6049, allocations: 3.113 MB / 1.202 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001614/0.6065, allocations: 1.81 MB / 1.204 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003689/0.6102, allocations: 1.254 MB / 1.205 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008633/0.6111, allocations: 1.097 MB / 1.206 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002054/0.6113, allocations: 120 kB / 1.206 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.6135, allocations: 1.575 MB / 1.208 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004832/0.614, allocations: 0.7047 MB / 1.209 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008488/0.6148, allocations: 1.173 MB / 1.21 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002732/0.6175, allocations: 3.645 MB / 1.213 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.6176, allocations: 4 kB / 1.213 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.51e-07/0.6176, allocations: 0 / 1.213 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.731e-05/0.6176, allocations: 3.938 kB / 1.213 GB, free: 8.637 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.003835/0.6214, allocations: 2.923 MB / 1.216 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.6215, allocations: 12.03 kB / 1.216 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002412/0.6217, allocations: 248.9 kB / 1.217 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/0.6249, allocations: 0.5628 MB / 1.217 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00297/0.6279, allocations: 3.394 MB / 1.22 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.937e-05/0.628, allocations: 135.4 kB / 1.221 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.6282, allocations: 164 kB / 1.221 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002766/0.631, allocations: 1.964 MB / 1.223 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.631, allocations: 0 / 1.223 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.6311, allocations: 72 kB / 1.223 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.6312, allocations: 40 kB / 1.223 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/0.6342, allocations: 2.117 MB / 1.225 GB, free: 12.83 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.007413/0.6417, allocations: 6.754 MB / 1.231 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/0.6446, allocations: 2.121 MB / 1.233 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/0.6457, allocations: 0.7802 MB / 1.234 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004812/0.6462, allocations: 425.6 kB / 1.235 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001548/0.6478, allocations: 1.024 MB / 1.236 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 2.395e-06/0.6478, allocations: 0 / 1.236 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.005903/0.6537, allocations: 3.004 MB / 1.239 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.956e-05/0.6538, allocations: 197.2 kB / 1.239 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003562/0.6573, allocations: 4.081 MB / 1.243 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.6575, allocations: 57.7 kB / 1.243 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005771/0.658, allocations: 0.8945 MB / 1.244 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/0.6584, allocations: 488.9 kB / 1.244 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003345/0.6587, allocations: 234.9 kB / 1.244 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.6588, allocations: 353.9 kB / 1.245 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.6598, allocations: 0.5843 MB / 1.245 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.661, allocations: 0.8124 MB / 1.246 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002147/0.6632, allocations: 1.329 MB / 1.247 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.6632, allocations: 8 kB / 1.247 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003364/0.6666, allocations: 1.795 MB / 1.249 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.6666, allocations: 10.17 kB / 1.249 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.6666, allocations: 4 kB / 1.249 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009444/0.6675, allocations: 208.2 kB / 1.249 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.6689, allocations: 331.5 kB / 1.25 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4046/1.074, allocations: 6.822 MB / 1.256 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/1.075, allocations: 183.4 kB / 1.256 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/1.075, allocations: 48.61 kB / 1.256 GB, free: 225.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.0008478/1.076, allocations: 492.8 kB / 1.257 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003306/1.077, allocations: 192.3 kB / 1.257 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/1.081, allocations: 2.16 MB / 1.259 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/1.081, allocations: 15.38 kB / 1.259 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.081, allocations: 1.594 kB / 1.259 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/1.081, allocations: 11.98 kB / 1.259 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006385/1.087, allocations: 4.14 MB / 1.263 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.087, allocations: 1.469 kB / 1.263 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/1.089, allocations: 324.9 kB / 1.264 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008947/1.09, allocations: 206.2 kB / 1.264 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-05/1.09, allocations: 41.12 kB / 1.264 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003892/1.094, allocations: 6.844 MB / 1.271 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.094, allocations: 3.656 kB / 1.271 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004205/1.098, allocations: 2.022 MB / 1.273 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006605/1.099, allocations: 0.513 MB / 1.273 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/1.099, allocations: 28.38 kB / 1.273 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/1.1, allocations: 140.5 kB / 1.273 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002587/1.1, allocations: 112.8 kB / 1.273 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/1.101, allocations: 74.22 kB / 1.273 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002751/1.103, allocations: 3.131 MB / 1.276 GB, free: 214.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.41e-07/1.103, allocations: 0 / 1.276 GB, free: 214.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001593/1.105, allocations: 0.6921 MB / 1.277 GB, free: 214.6 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.005141/1.11, allocations: 3.221 MB / 1.28 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002993/1.113, allocations: 2.072 MB / 1.282 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.113, allocations: 5.531 kB / 1.282 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001687/1.115, allocations: 1.429 MB / 1.284 GB, free: 211.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/1.117, allocations: 0.5184 MB / 1.284 GB, free: 211.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02386/1.141, allocations: 23.41 MB / 1.307 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006843/1.141, allocations: 1.541 MB / 1.309 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001601/1.143, allocations: 0.5367 MB / 1.309 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009005/1.144, allocations: 0.8936 MB / 1.31 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/1.144, allocations: 0 / 1.31 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.456/10.6, allocations: 47.41 MB / 1.356 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/10.6, allocations: 298.8 kB / 1.357 GB, free: 142.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.318/13.92, allocations: 0 / 1.357 GB, free: 142.3 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)