Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.25/2.25, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001043, allocations: 184 kB / 491.2 MB, free: 1.562 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 221.5 MB / 0.7868 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008245/0.0008245, allocations: 91.94 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.948e-05/1.933e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2679, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.827/5.095, allocations: 1.908 GB / 3.12 GB, free: 347.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/5.095, allocations: 86.14 kB / 3.12 GB, free: 347.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.56/6.655, allocations: 394.4 MB / 3.505 GB, free: 291.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.665e-06/6.655, allocations: 3.5 kB / 3.505 GB, free: 291.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001736/6.656, allocations: 39.83 kB / 3.505 GB, free: 291.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.004588/6.66, allocations: 1.526 MB / 3.507 GB, free: 290.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.462e-05/6.66, allocations: 9.844 kB / 3.507 GB, free: 290.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002719/6.663, allocations: 344.2 kB / 3.507 GB, free: 290.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003519/6.667, allocations: 1.109 MB / 3.508 GB, free: 290.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.274e-05/6.667, allocations: 41.66 kB / 3.508 GB, free: 290.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/6.667, allocations: 78.58 kB / 3.509 GB, free: 290.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002643/6.67, allocations: 1.267 MB / 3.51 GB, free: 290.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/6.672, allocations: 1.026 MB / 3.511 GB, free: 290.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.854e-05/6.672, allocations: 1.156 kB / 3.511 GB, free: 290.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/6.672, allocations: 1.031 kB / 3.511 GB, free: 290.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.715e-05/6.672, allocations: 31.17 kB / 3.511 GB, free: 290.1 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.007275/6.679, allocations: 3.464 MB / 3.514 GB, free: 289.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/6.681, allocations: 1.056 MB / 3.515 GB, free: 289 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006416/6.682, allocations: 375.3 kB / 3.516 GB, free: 289 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007436/6.683, allocations: 428.9 kB / 3.516 GB, free: 288.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009219/6.684, allocations: 0.5302 MB / 3.516 GB, free: 288.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=97): time 4.428e-06/6.684, allocations: 2.219 kB / 3.516 GB, free: 288.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=97): time 0.003505/6.687, allocations: 1.031 MB / 3.517 GB, free: 288.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/6.687, allocations: 242.7 kB / 3.518 GB, free: 288.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/6.689, allocations: 0.6036 MB / 3.518 GB, free: 288 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/6.689, allocations: 28.11 kB / 3.518 GB, free: 288 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005072/6.689, allocations: 0.5017 MB / 3.519 GB, free: 287.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/6.69, allocations: 314.4 kB / 3.519 GB, free: 287.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/6.69, allocations: 0 / 3.519 GB, free: 287.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001077/6.69, allocations: 347.1 kB / 3.519 GB, free: 287.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005136/6.69, allocations: 293.6 kB / 3.52 GB, free: 287.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006406/6.691, allocations: 444.5 kB / 3.52 GB, free: 287.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/6.692, allocations: 488.5 kB / 3.521 GB, free: 287.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/6.692, allocations: 0 / 3.521 GB, free: 287.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002995/6.695, allocations: 1.053 MB / 3.522 GB, free: 287 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/6.695, allocations: 5.188 kB / 3.522 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/6.695, allocations: 2.25 kB / 3.522 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006464/6.696, allocations: 87.5 kB / 3.522 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/6.697, allocations: 211.8 kB / 3.522 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/6.699, allocations: 1.47 MB / 3.523 GB, free: 285.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/6.7, allocations: 84.56 kB / 3.523 GB, free: 285.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/6.701, allocations: 34.95 kB / 3.523 GB, free: 285.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002866/6.701, allocations: 132.4 kB / 3.524 GB, free: 285.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003226/6.704, allocations: 1.01 MB / 3.525 GB, free: 285.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/6.704, allocations: 99.2 kB / 3.525 GB, free: 285.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003426/6.708, allocations: 1.395 MB / 3.526 GB, free: 285.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/6.708, allocations: 11 kB / 3.526 GB, free: 285.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/6.708, allocations: 0 / 3.526 GB, free: 285.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/6.708, allocations: 9.375 kB / 3.526 GB, free: 285.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005374/6.713, allocations: 2.503 MB / 3.529 GB, free: 284.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/6.713, allocations: 5.141 kB / 3.529 GB, free: 284.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/6.714, allocations: 194.9 kB / 3.529 GB, free: 284.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005185/6.715, allocations: 88.23 kB / 3.529 GB, free: 284.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.158e-05/6.715, allocations: 20.42 kB / 3.529 GB, free: 284.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/6.717, allocations: 1.499 MB / 3.53 GB, free: 283.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/6.717, allocations: 2.25 kB / 3.53 GB, free: 283.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003715/6.72, allocations: 1.77 MB / 3.532 GB, free: 283.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007871/6.721, allocations: 340.8 kB / 3.532 GB, free: 283.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/6.721, allocations: 9.469 kB / 3.532 GB, free: 283.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008848/6.722, allocations: 65.72 kB / 3.532 GB, free: 283.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/6.722, allocations: 84.22 kB / 3.532 GB, free: 283.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/6.723, allocations: 44.39 kB / 3.533 GB, free: 283.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009728/6.724, allocations: 0.4886 MB / 3.533 GB, free: 283 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.7e-07/6.724, allocations: 0 / 3.533 GB, free: 283 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00251/6.726, allocations: 0.5213 MB / 3.534 GB, free: 283 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008738/6.735, allocations: 4.633 MB / 3.538 GB, free: 281.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0019/6.737, allocations: 0.8998 MB / 3.539 GB, free: 281.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/6.737, allocations: 3.656 kB / 3.539 GB, free: 281.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000998/6.738, allocations: 0.5634 MB / 3.539 GB, free: 281.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/6.74, allocations: 355.2 kB / 3.54 GB, free: 281.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006834/6.747, allocations: 2.165 MB / 3.542 GB, free: 280.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008681/6.748, allocations: 1.159 MB / 3.543 GB, free: 279.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001622/6.75, allocations: 351.4 kB / 3.543 GB, free: 279.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008084/6.75, allocations: 487.3 kB / 3.544 GB, free: 279.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.754e-06/6.751, allocations: 3.25 kB / 3.544 GB, free: 279.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08665/6.837, allocations: 37.69 MB / 3.581 GB, free: 278.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002371/6.837, allocations: 162.8 kB / 3.581 GB, free: 278.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.39/10.23, allocations: 2.516 kB / 3.581 GB, free: 278.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)