Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",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.001224/0.001224, allocations: 107.3 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.001159/0.001159, allocations: 189.5 kB / 16.25 MB, free: 6.152 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.29/1.29, allocations: 222.9 MB / 239.9 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.484/2.484, allocations: 469.8 MB / 0.7421 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 62.84 kB / 0.9082 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2268, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005881/0.2327, allocations: 4.945 MB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1421/0.3748, allocations: 148.4 MB / 1.213 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006453/0.3755, allocations: 19.94 kB / 1.213 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005697/0.3761, allocations: 146.8 kB / 1.213 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.3776, allocations: 497.8 kB / 1.214 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.3792, allocations: 0.733 MB / 1.215 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001264/0.3805, allocations: 1.366 MB / 1.216 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007338/0.3812, allocations: 0.5753 MB / 1.217 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004693/0.3817, allocations: 482.3 kB / 1.217 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005006/0.3822, allocations: 0.4978 MB / 1.217 GB, free: 360 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.3824, allocations: 119.9 kB / 1.218 GB, free: 240 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006502/0.383, allocations: 459.6 kB / 1.218 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.3833, allocations: 287.1 kB / 1.218 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004382/0.3837, allocations: 0.5558 MB / 1.219 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.3851, allocations: 1.581 MB / 1.22 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3852, allocations: 0 / 1.22 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3852, allocations: 0 / 1.22 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.3852, allocations: 0 / 1.22 GB, free: 13.36 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002194/0.3874, allocations: 1.434 MB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.3874, allocations: 8.031 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.3876, allocations: 135.3 kB / 1.222 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007891/0.3884, allocations: 187.3 kB / 1.222 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009125/0.3893, allocations: 0.7428 MB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.036e-05/0.3893, allocations: 61.94 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.667e-05/0.3894, allocations: 80 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.3909, allocations: 0.9114 MB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.3909, allocations: 0 / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.457e-05/0.391, allocations: 32 kB / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.391, allocations: 23.98 kB / 1.224 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/0.3926, allocations: 1.097 MB / 1.225 GB, free: 8.508 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.003608/0.3963, allocations: 2.764 MB / 1.228 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.3976, allocations: 0.7856 MB / 1.228 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004817/0.3981, allocations: 302.6 kB / 1.229 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.529e-05/0.3981, allocations: 28.56 kB / 1.229 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008033/0.399, allocations: 491.1 kB / 1.229 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 1.724e-06/0.399, allocations: 0 / 1.229 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.002822/0.4018, allocations: 1.178 MB / 1.23 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.716e-05/0.4019, allocations: 192.6 kB / 1.231 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006837/0.4026, allocations: 0.6371 MB / 1.231 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.035e-05/0.4027, allocations: 41.7 kB / 1.231 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.4029, allocations: 392.3 kB / 1.232 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.4032, allocations: 256.4 kB / 1.232 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.4034, allocations: 142.5 kB / 1.232 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.4036, allocations: 394.7 kB / 1.232 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004399/0.404, allocations: 237.9 kB / 1.233 GB, free: 480 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005466/0.4046, allocations: 371.3 kB / 1.233 GB, free: 76 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009788/0.4055, allocations: 0.5807 MB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4056, allocations: 0 / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001683/0.4072, allocations: 0.7902 MB / 1.234 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4073, allocations: 8 kB / 1.234 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.4073, allocations: 0 / 1.234 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005573/0.4078, allocations: 88.83 kB / 1.234 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005477/0.4084, allocations: 147.8 kB / 1.235 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.4104, allocations: 1.64 MB / 1.236 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005473/0.4109, allocations: 87.33 kB / 1.236 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.411, allocations: 31.98 kB / 1.236 GB, free: 12.54 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0003311/0.4113, allocations: 269.5 kB / 1.237 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.4115, allocations: 82.97 kB / 1.237 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/0.4136, allocations: 1.042 MB / 1.238 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.4137, allocations: 8 kB / 1.238 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.4137, allocations: 3.938 kB / 1.238 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.4137, allocations: 7.984 kB / 1.238 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009142/0.4146, allocations: 0.8956 MB / 1.238 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4146, allocations: 0 / 1.238 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005117/0.4151, allocations: 143.8 kB / 1.239 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004064/0.4155, allocations: 76.72 kB / 1.239 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/0.4156, allocations: 23.98 kB / 1.239 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/0.4174, allocations: 1.666 MB / 1.24 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4174, allocations: 0 / 1.24 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.4192, allocations: 0.916 MB / 1.241 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/0.4195, allocations: 263.8 kB / 1.241 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.4196, allocations: 20 kB / 1.242 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005623/0.4202, allocations: 67.83 kB / 1.242 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.4203, allocations: 72.84 kB / 1.242 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.417e-05/0.4204, allocations: 35.97 kB / 1.242 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004975/0.4209, allocations: 463 kB / 1.242 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.713e-06/0.4209, allocations: 4 kB / 1.242 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006322/0.4215, allocations: 315.2 kB / 1.242 GB, free: 5.934 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.003564/0.4251, allocations: 1.958 MB / 1.244 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001953/0.427, allocations: 0.9757 MB / 1.245 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4271, allocations: 4 kB / 1.245 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008466/0.4279, allocations: 0.5083 MB / 1.246 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009785/0.4289, allocations: 301.4 kB / 1.246 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3488/0.7777, allocations: 6.736 MB / 1.253 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.7781, allocations: 1.023 MB / 1.254 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007682/0.7789, allocations: 268.7 kB / 1.254 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004363/0.7794, allocations: 394.5 kB / 1.254 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of SimCode: time 7.92e-07/0.7794, allocations: 0.7812 kB / 1.254 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.656/6.435, allocations: 21.03 MB / 1.275 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/6.436, allocations: 284.8 kB / 1.275 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.465/8.901, allocations: 4 kB / 1.275 GB, free: 178.2 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)