Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.001183/0.001183, 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.001177/0.001177, allocations: 194.9 kB / 16.25 MB, free: 6.625 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.469/1.469, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.43/2.43, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 64.75 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2446, allocations: 157.4 MB / 1.052 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006962/0.2516, allocations: 5.258 MB / 1.058 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1521/0.4038, allocations: 148.4 MB / 1.202 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.4049, allocations: 19.88 kB / 1.203 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008827/0.4058, allocations: 150.8 kB / 1.203 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002105/0.4079, allocations: 0.5007 MB / 1.203 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.41, allocations: 0.7497 MB / 1.204 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001542/0.4115, allocations: 1.443 MB / 1.205 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008047/0.4124, allocations: 0.6073 MB / 1.206 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005046/0.4129, allocations: 0.4982 MB / 1.206 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000541/0.4134, allocations: 0.529 MB / 1.207 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.4136, allocations: 123.9 kB / 1.207 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007056/0.4143, allocations: 467.6 kB / 1.207 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.4146, allocations: 303 kB / 1.208 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004455/0.415, allocations: 0.5908 MB / 1.208 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.4165, allocations: 1.651 MB / 1.21 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4165, allocations: 0 / 1.21 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4165, allocations: 0 / 1.21 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.4165, allocations: 4 kB / 1.21 GB, free: 6.75 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002334/0.4189, allocations: 1.489 MB / 1.211 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.4189, allocations: 12.56 kB / 1.211 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.4191, allocations: 143.7 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008361/0.4199, allocations: 195.3 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009254/0.4208, allocations: 0.766 MB / 1.212 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.171e-05/0.4209, allocations: 66 kB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.421, allocations: 88 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.4225, allocations: 0.9574 MB / 1.214 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.4225, allocations: 0 / 1.214 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-05/0.4226, allocations: 40 kB / 1.214 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.4226, allocations: 20 kB / 1.214 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.4243, allocations: 1.143 MB / 1.215 GB, free: 1.703 MB / 0.9669 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.003617/0.4279, allocations: 2.806 MB / 1.217 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.4293, allocations: 0.8475 MB / 1.218 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005059/0.4299, allocations: 322.7 kB / 1.219 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.471e-05/0.4299, allocations: 30.73 kB / 1.219 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008577/0.4308, allocations: 0.5081 MB / 1.219 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 1.844e-06/0.4308, allocations: 0 / 1.219 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003019/0.4338, allocations: 1.243 MB / 1.22 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.314e-05/0.4339, allocations: 196.9 kB / 1.221 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00068/0.4346, allocations: 0.6489 MB / 1.221 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.4347, allocations: 41.7 kB / 1.221 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.435, allocations: 420.3 kB / 1.222 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.4352, allocations: 272.1 kB / 1.222 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.4354, allocations: 154.5 kB / 1.222 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4356, allocations: 386.8 kB / 1.222 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004769/0.436, allocations: 257.9 kB / 1.223 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.4366, allocations: 374.5 kB / 1.223 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.4376, allocations: 0.6008 MB / 1.224 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4376, allocations: 0 / 1.224 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001728/0.4394, allocations: 0.8447 MB / 1.224 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.4394, allocations: 9.812 kB / 1.224 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4394, allocations: 0 / 1.224 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005823/0.44, allocations: 84.83 kB / 1.224 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006158/0.4406, allocations: 163.8 kB / 1.225 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.4425, allocations: 1.643 MB / 1.226 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006006/0.4432, allocations: 95.38 kB / 1.226 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.4432, allocations: 31.98 kB / 1.226 GB, free: 5.32 MB / 0.9825 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 (92): * Single equations (assignments): 91 * 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.0003285/0.4436, allocations: 269.6 kB / 1.227 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.4437, allocations: 82.97 kB / 1.227 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/0.446, allocations: 1.097 MB / 1.228 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.446, allocations: 12 kB / 1.228 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.446, allocations: 3.984 kB / 1.228 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.446, allocations: 3.984 kB / 1.228 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009282/0.4469, allocations: 0.923 MB / 1.229 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.4469, allocations: 3.938 kB / 1.229 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/0.4476, allocations: 167.8 kB / 1.229 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004053/0.448, allocations: 72.72 kB / 1.229 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.987e-05/0.448, allocations: 31.97 kB / 1.229 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.4497, allocations: 1.65 MB / 1.231 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4498, allocations: 0 / 1.231 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/0.4522, allocations: 1.371 MB / 1.232 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/0.4525, allocations: 279.7 kB / 1.232 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.4526, allocations: 16 kB / 1.232 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006129/0.4532, allocations: 78.28 kB / 1.232 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.4534, allocations: 72.89 kB / 1.232 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.486e-05/0.4535, allocations: 35.98 kB / 1.232 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004881/0.4539, allocations: 471 kB / 1.233 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.454, allocations: 0 / 1.233 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006833/0.4546, allocations: 339.1 kB / 1.233 GB, free: 14.12 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (96): * Single equations (assignments): 90 * 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.003864/0.4585, allocations: 2.417 MB / 1.235 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002099/0.4606, allocations: 1.038 MB / 1.237 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4606, allocations: 0 / 1.237 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008559/0.4615, allocations: 0.5276 MB / 1.237 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.4626, allocations: 308.4 kB / 1.237 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.4735, allocations: 7.168 MB / 1.244 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006185/0.4741, allocations: 1.039 MB / 1.245 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007419/0.4748, allocations: 270.9 kB / 1.246 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005145/0.4754, allocations: 399.3 kB / 1.246 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.4754, allocations: 0 / 1.246 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.274/1.749, allocations: 21.82 MB / 1.267 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003379/1.75, allocations: 285.2 kB / 1.268 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/4.004, allocations: 0 / 1.268 GB, free: 188.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)