Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.001475/0.001475, 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.001751/0.001751, allocations: 196.2 kB / 16.14 MB, free: 6.691 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.294/1.294, allocations: 222.9 MB / 239.8 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.613/2.613, allocations: 461.8 MB / 0.7342 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 62.72 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3116, allocations: 157.4 MB / 1.052 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1767/0.4884, allocations: 163.8 MB / 1.212 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01393/0.5023, allocations: 7.824 MB / 1.22 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.5043, allocations: 31.81 kB / 1.22 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.5059, allocations: 325.9 kB / 1.22 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004098/0.51, allocations: 1.19 MB / 1.221 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.5129, allocations: 1.018 MB / 1.222 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003204/0.5161, allocations: 2.554 MB / 1.225 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001749/0.5178, allocations: 1.072 MB / 1.226 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.519, allocations: 0.704 MB / 1.226 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/0.5206, allocations: 0.7666 MB / 1.227 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.5208, allocations: 72 kB / 1.227 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.5227, allocations: 1.142 MB / 1.228 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003134/0.523, allocations: 350.7 kB / 1.229 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006507/0.5237, allocations: 0.7109 MB / 1.229 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002134/0.5258, allocations: 2.325 MB / 1.232 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.5259, allocations: 4 kB / 1.232 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5259, allocations: 4 kB / 1.232 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.5259, allocations: 0 / 1.232 GB, free: 15.65 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003107/0.529, allocations: 1.883 MB / 1.234 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.529, allocations: 15.97 kB / 1.234 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001892/0.5292, allocations: 169 kB / 1.234 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/0.5311, allocations: 329.7 kB / 1.234 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.5324, allocations: 0.9757 MB / 1.235 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.925e-05/0.5324, allocations: 86.14 kB / 1.235 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.5326, allocations: 111.9 kB / 1.235 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.5344, allocations: 1.172 MB / 1.236 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.5345, allocations: 0 / 1.236 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.5346, allocations: 51.98 kB / 1.236 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-05/0.5346, allocations: 46.06 kB / 1.236 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.5366, allocations: 1.304 MB / 1.238 GB, free: 9.324 MB / 0.9981 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.005052/0.5417, allocations: 3.846 MB / 1.241 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.5434, allocations: 0.9928 MB / 1.242 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006379/0.544, allocations: 401.6 kB / 1.243 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-05/0.5441, allocations: 29.05 kB / 1.243 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009822/0.5451, allocations: 0.5952 MB / 1.243 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 2.445e-06/0.5451, allocations: 0 / 1.243 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.003578/0.5487, allocations: 1.442 MB / 1.245 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.5488, allocations: 188.9 kB / 1.245 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.5498, allocations: 0.8341 MB / 1.246 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.641e-05/0.5499, allocations: 45.7 kB / 1.246 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/0.5503, allocations: 0.5275 MB / 1.246 GB, free: 88 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.5615/1.112, allocations: 334.6 kB / 1.247 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006014/1.112, allocations: 183 kB / 1.247 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001027/1.113, allocations: 342 kB / 1.247 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008845/1.113, allocations: 311.6 kB / 1.248 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009824/1.114, allocations: 473.3 kB / 1.248 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/1.116, allocations: 0.7829 MB / 1.249 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/1.116, allocations: 1 kB / 1.249 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002627/1.119, allocations: 1.033 MB / 1.25 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/1.119, allocations: 6.25 kB / 1.25 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.119, allocations: 2.156 kB / 1.25 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006467/1.12, allocations: 87.19 kB / 1.25 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008997/1.12, allocations: 206.1 kB / 1.25 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/1.122, allocations: 1.525 MB / 1.252 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/1.123, allocations: 110.4 kB / 1.252 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/1.123, allocations: 40.38 kB / 1.252 GB, free: 191.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.00053/1.124, allocations: 325.6 kB / 1.252 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/1.124, allocations: 112.6 kB / 1.252 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/1.127, allocations: 1.251 MB / 1.253 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/1.127, allocations: 15.27 kB / 1.253 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.127, allocations: 6.969 kB / 1.253 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/1.127, allocations: 7.172 kB / 1.253 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/1.128, allocations: 1.156 MB / 1.254 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.128, allocations: 0.5625 kB / 1.254 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008339/1.129, allocations: 207.4 kB / 1.255 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004915/1.129, allocations: 84.73 kB / 1.255 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.319e-05/1.129, allocations: 31.36 kB / 1.255 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/1.131, allocations: 1.558 MB / 1.256 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.131, allocations: 2.594 kB / 1.256 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002789/1.134, allocations: 1.572 MB / 1.258 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000414/1.134, allocations: 324.4 kB / 1.258 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/1.134, allocations: 25.55 kB / 1.258 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008583/1.135, allocations: 77.48 kB / 1.258 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/1.135, allocations: 88.25 kB / 1.258 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-05/1.135, allocations: 39.94 kB / 1.258 GB, free: 189 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007351/1.136, allocations: 0.5828 MB / 1.259 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.11e-07/1.136, allocations: 0 / 1.259 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009362/1.137, allocations: 426.2 kB / 1.259 GB, free: 188.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 107 * 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.00438/1.141, allocations: 2.642 MB / 1.262 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002097/1.143, allocations: 0.9641 MB / 1.263 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.143, allocations: 0.875 kB / 1.263 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/1.145, allocations: 0.6 MB / 1.263 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/1.147, allocations: 461.1 kB / 1.264 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01635/1.163, allocations: 9.15 MB / 1.273 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007164/1.164, allocations: 1.153 MB / 1.274 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001392/1.165, allocations: 328.3 kB / 1.274 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006989/1.166, allocations: 0.5155 MB / 1.275 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of SimCode: time 8.12e-07/1.166, allocations: 0 / 1.275 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0589/1.225, allocations: 28.26 MB / 1.302 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/1.225, allocations: 286.1 kB / 1.303 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.589/3.814, allocations: 8 kB / 1.303 GB, free: 167.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)