Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.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.Examples.Outside_Cp,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp",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.001696/0.001696, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001946/0.001946, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.194/1.194, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.243/2.243, allocations: 437 MB / 0.7101 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.91 kB / 0.8689 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4708/0.472, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1524/0.6245, allocations: 173.8 MB / 1.187 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01667/0.6412, allocations: 15.48 MB / 1.202 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.6423, allocations: 27.81 kB / 1.202 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.6438, allocations: 0.5204 MB / 1.202 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003411/0.6472, allocations: 1.45 MB / 1.204 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003258/0.6505, allocations: 1.52 MB / 1.205 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002917/0.6534, allocations: 2.898 MB / 1.208 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/0.6556, allocations: 1.84 MB / 1.21 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003895/0.6595, allocations: 1.385 MB / 1.211 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.6608, allocations: 1.091 MB / 1.212 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003267/0.6611, allocations: 200 kB / 1.212 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.6631, allocations: 1.341 MB / 1.214 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005027/0.6636, allocations: 0.5686 MB / 1.214 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.6646, allocations: 1.042 MB / 1.215 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002903/0.6675, allocations: 3.022 MB / 1.218 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.6675, allocations: 0 / 1.218 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6675, allocations: 4 kB / 1.218 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.136e-05/0.6676, allocations: 3.938 kB / 1.218 GB, free: 3.746 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: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.00341/0.671, allocations: 2.306 MB / 1.221 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.671, allocations: 12.03 kB / 1.221 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002437/0.6713, allocations: 232.3 kB / 1.221 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/0.6741, allocations: 469.1 kB / 1.221 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.6755, allocations: 1.101 MB / 1.222 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.652e-05/0.6756, allocations: 123.2 kB / 1.222 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/0.6758, allocations: 156 kB / 1.223 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/0.6785, allocations: 1.784 MB / 1.224 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.6786, allocations: 0 / 1.224 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.6787, allocations: 68 kB / 1.224 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.304e-05/0.6787, allocations: 48 kB / 1.224 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002743/0.6815, allocations: 1.776 MB / 1.226 GB, free: 11.49 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.007057/0.6886, allocations: 6.187 MB / 1.232 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.691, allocations: 1.555 MB / 1.234 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009151/0.6919, allocations: 0.5698 MB / 1.234 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007893/0.6927, allocations: 0.8828 MB / 1.235 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/0.694, allocations: 0.7894 MB / 1.236 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=126): time 2.394e-06/0.6941, allocations: 8 kB / 1.236 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of matching and sorting (n=126): time 0.00433/0.6984, allocations: 1.883 MB / 1.238 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.034e-05/0.6985, allocations: 196.9 kB / 1.238 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.6996, allocations: 0.9837 MB / 1.239 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.6997, allocations: 57.7 kB / 1.239 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004331/0.7001, allocations: 0.6645 MB / 1.24 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000296/0.7004, allocations: 414 kB / 1.24 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003188/0.7008, allocations: 214.8 kB / 1.24 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.7009, allocations: 345.9 kB / 1.241 GB, free: 12 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008348/0.7017, allocations: 430.4 kB / 1.241 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009819/0.7027, allocations: 0.5975 MB / 1.242 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/0.7045, allocations: 1.011 MB / 1.243 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.7045, allocations: 0 / 1.243 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002646/0.7072, allocations: 1.304 MB / 1.244 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.7072, allocations: 4 kB / 1.244 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.7072, allocations: 4 kB / 1.244 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005645/0.7078, allocations: 88.86 kB / 1.244 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.709, allocations: 283.6 kB / 1.244 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.7111, allocations: 1.668 MB / 1.246 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.7122, allocations: 166.7 kB / 1.246 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.204e-05/0.7123, allocations: 43.97 kB / 1.246 GB, free: 6.199 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (136): * Single equations (assignments): 135 * 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.0005416/0.7129, allocations: 373.8 kB / 1.246 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.7131, allocations: 142.3 kB / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/0.7165, allocations: 1.606 MB / 1.248 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.7165, allocations: 16 kB / 1.248 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.7165, allocations: 4 kB / 1.248 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.7166, allocations: 7.969 kB / 1.248 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004905/0.7215, allocations: 3.161 MB / 1.251 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.7215, allocations: 3.938 kB / 1.251 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.7227, allocations: 275.6 kB / 1.251 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004422/0.7232, allocations: 80.72 kB / 1.251 GB, free: 464 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-05/0.7233, allocations: 31.97 kB / 1.252 GB, free: 432 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3902/1.114, allocations: 1.668 MB / 1.253 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/1.114, allocations: 1.125 kB / 1.253 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/1.118, allocations: 2.178 MB / 1.255 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005487/1.118, allocations: 396.2 kB / 1.256 GB, free: 230 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/1.118, allocations: 28.86 kB / 1.256 GB, free: 230 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.12, allocations: 128 kB / 1.256 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/1.12, allocations: 97.88 kB / 1.256 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/1.12, allocations: 60.98 kB / 1.256 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008657/1.121, allocations: 0.6842 MB / 1.257 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.121, allocations: 0 / 1.257 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001189/1.122, allocations: 0.5403 MB / 1.257 GB, free: 229.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (137): * Single equations (assignments): 131 * 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.005324/1.127, allocations: 3.35 MB / 1.26 GB, free: 228 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003954/1.131, allocations: 1.661 MB / 1.262 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.131, allocations: 2.188 kB / 1.262 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001429/1.133, allocations: 0.7576 MB / 1.263 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/1.135, allocations: 0.5636 MB / 1.263 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/1.151, allocations: 11.39 MB / 1.274 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007344/1.152, allocations: 1.309 MB / 1.276 GB, free: 220 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001589/1.153, allocations: 442.1 kB / 1.276 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007353/1.154, allocations: 0.6631 MB / 1.277 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/1.154, allocations: 0 / 1.277 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.45/2.604, allocations: 36.79 MB / 1.313 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/2.605, allocations: 267.9 kB / 1.313 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.17/5.775, allocations: 0 / 1.313 GB, free: 189.6 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)