Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside.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.Examples.Outside,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside",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.001584/0.001585, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001864/0.001864, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.184/1.184, allocations: 222.9 MB / 239.8 MB, free: 4.594 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 1.991/1.991, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 59.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.4587, allocations: 140.4 MB / 0.949 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1481/0.6068, allocations: 173.7 MB / 1.119 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.6181, allocations: 10.87 MB / 1.129 GB, free: 8.828 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004527/0.6186, allocations: 31.81 kB / 1.129 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007629/0.6193, allocations: 325.8 kB / 1.13 GB, free: 8.477 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.6211, allocations: 0.9485 MB / 1.131 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.6236, allocations: 1.519 MB / 1.132 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001742/0.6254, allocations: 2.584 MB / 1.135 GB, free: 3.422 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.6266, allocations: 1.309 MB / 1.136 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/0.6291, allocations: 1.114 MB / 1.137 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006394/0.6298, allocations: 0.7778 MB / 1.138 GB, free: 188 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.6299, allocations: 80 kB / 1.138 GB, free: 108 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.6318, allocations: 1.45 MB / 1.139 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002916/0.6321, allocations: 386.5 kB / 1.14 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005081/0.6326, allocations: 0.6915 MB / 1.14 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.6346, allocations: 2.5 MB / 1.143 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.6346, allocations: 0 / 1.143 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.42e-07/0.6346, allocations: 0 / 1.143 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.6347, allocations: 4 kB / 1.143 GB, free: 11.07 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.002676/0.6373, allocations: 1.877 MB / 1.145 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.6374, allocations: 8.031 kB / 1.145 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001744/0.6376, allocations: 177.4 kB / 1.145 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/0.6395, allocations: 357.8 kB / 1.145 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.6407, allocations: 0.9524 MB / 1.146 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.928e-05/0.6407, allocations: 86.33 kB / 1.146 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.6409, allocations: 112 kB / 1.146 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.6427, allocations: 1.298 MB / 1.147 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.6428, allocations: 7.922 kB / 1.147 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.6429, allocations: 56 kB / 1.148 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.6429, allocations: 32 kB / 1.148 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.645, allocations: 1.441 MB / 1.149 GB, free: 4.488 MB / 0.9044 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.004786/0.6497, allocations: 3.856 MB / 1.153 GB, free: 488 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.6516, allocations: 1.213 MB / 1.154 GB, free: 15.24 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006645/0.6523, allocations: 447.6 kB / 1.154 GB, free: 14.8 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006381/0.653, allocations: 425.5 kB / 1.155 GB, free: 14.31 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009701/0.6539, allocations: 0.6684 MB / 1.155 GB, free: 13.62 MB / 0.92 GB Notification: Performance of pre-optimization done (n=106): time 1.954e-06/0.654, allocations: 0 / 1.155 GB, free: 13.62 MB / 0.92 GB Notification: Performance of matching and sorting (n=106): time 0.00345/0.6574, allocations: 1.598 MB / 1.157 GB, free: 12 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/0.6575, allocations: 204.8 kB / 1.157 GB, free: 11.76 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008927/0.6584, allocations: 0.8788 MB / 1.158 GB, free: 10.86 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.155e-05/0.6585, allocations: 49.7 kB / 1.158 GB, free: 10.8 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.6588, allocations: 0.5159 MB / 1.159 GB, free: 10.28 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.659, allocations: 350.9 kB / 1.159 GB, free: 9.93 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/0.6593, allocations: 194.5 kB / 1.159 GB, free: 9.734 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.6594, allocations: 349.9 kB / 1.159 GB, free: 9.387 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006308/0.66, allocations: 361.8 kB / 1.16 GB, free: 9.031 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007397/0.6608, allocations: 0.4932 MB / 1.16 GB, free: 8.5 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.6621, allocations: 0.8446 MB / 1.161 GB, free: 7.641 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.6622, allocations: 4 kB / 1.161 GB, free: 7.637 MB / 0.92 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002154/0.6643, allocations: 1.114 MB / 1.162 GB, free: 6.512 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.6643, allocations: 8 kB / 1.162 GB, free: 6.504 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.6644, allocations: 0 / 1.162 GB, free: 6.504 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005353/0.6649, allocations: 88.86 kB / 1.162 GB, free: 6.414 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008668/0.6658, allocations: 215.7 kB / 1.162 GB, free: 6.203 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.6674, allocations: 1.545 MB / 1.164 GB, free: 4.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007404/0.6682, allocations: 135.1 kB / 1.164 GB, free: 4.387 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.465e-05/0.6683, allocations: 39.97 kB / 1.164 GB, free: 4.348 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003833/0.6687, allocations: 317.5 kB / 1.164 GB, free: 4.027 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.6689, allocations: 126.5 kB / 1.165 GB, free: 3.902 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/0.6716, allocations: 1.505 MB / 1.166 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.046e-06/0.6716, allocations: 12 kB / 1.166 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.6716, allocations: 3.938 kB / 1.166 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.6716, allocations: 3.984 kB / 1.166 GB, free: 2.355 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 postOpt removeSimpleEquations (simulation): time 0.003921/0.6755, allocations: 2.85 MB / 1.169 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6755, allocations: 0 / 1.169 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008186/0.6764, allocations: 203.9 kB / 1.169 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004569/0.6768, allocations: 88.77 kB / 1.169 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-05/0.6769, allocations: 39.97 kB / 1.169 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.6784, allocations: 1.555 MB / 1.171 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6785, allocations: 4 kB / 1.171 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00298/0.6814, allocations: 1.86 MB / 1.172 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003873/0.6818, allocations: 347.3 kB / 1.173 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.682, allocations: 35.78 kB / 1.173 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008099/0.6828, allocations: 79.91 kB / 1.173 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.683, allocations: 88.88 kB / 1.173 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.329e-05/0.6831, allocations: 47.97 kB / 1.173 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006627/0.6837, allocations: 0.6261 MB / 1.174 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6837, allocations: 0 / 1.174 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008679/0.6846, allocations: 447 kB / 1.174 GB, free: 9.793 MB / 0.9356 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: 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 (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004444/0.6891, allocations: 3.017 MB / 1.177 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.6908, allocations: 1.061 MB / 1.178 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6908, allocations: 4 kB / 1.178 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.6918, allocations: 0.657 MB / 1.179 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.6936, allocations: 491.7 kB / 1.179 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/0.7077, allocations: 9.904 MB / 1.189 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/0.7083, allocations: 1.166 MB / 1.19 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001071/0.7094, allocations: 373.6 kB / 1.19 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006415/0.71, allocations: 0.5227 MB / 1.191 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of SimCode: time 2.81e-07/0.71, allocations: 7.938 kB / 1.191 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.098/2.808, allocations: 31.32 MB / 1.221 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003227/2.808, allocations: 267.9 kB / 1.222 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.706/5.515, allocations: 4.062 kB / 1.222 GB, free: 9.07 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)