Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.00111/0.00111, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009761/0.0009761, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.607/2.607, allocations: 461.9 MB / 0.7347 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001296, allocations: 68.98 kB / 0.8992 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2334, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006345/0.2398, allocations: 5.126 MB / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1418/0.3816, allocations: 150.6 MB / 1.205 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007359/0.3824, allocations: 15.94 kB / 1.205 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006387/0.3831, allocations: 194.1 kB / 1.205 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001745/0.3848, allocations: 0.562 MB / 1.206 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001836/0.3867, allocations: 0.827 MB / 1.207 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001386/0.3881, allocations: 1.424 MB / 1.208 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008507/0.3889, allocations: 0.5913 MB / 1.209 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006059/0.3895, allocations: 490.3 kB / 1.209 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006205/0.3902, allocations: 0.5189 MB / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.3904, allocations: 120 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00077/0.3912, allocations: 459.6 kB / 1.21 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.3914, allocations: 303.1 kB / 1.21 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005571/0.392, allocations: 0.5751 MB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.3935, allocations: 1.624 MB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3935, allocations: 7.938 kB / 1.213 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3936, allocations: 0 / 1.213 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.3936, allocations: 0 / 1.213 GB, free: 4.164 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002265/0.3958, allocations: 1.462 MB / 1.214 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.3959, allocations: 8.625 kB / 1.214 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001439/0.396, allocations: 135.6 kB / 1.214 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008827/0.3969, allocations: 199.3 kB / 1.214 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009053/0.3978, allocations: 0.7545 MB / 1.215 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/0.3979, allocations: 62 kB / 1.215 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.398, allocations: 84 kB / 1.215 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.3994, allocations: 0.9379 MB / 1.216 GB, free: 400 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.3994, allocations: 3.938 kB / 1.216 GB, free: 396 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.977e-05/0.3995, allocations: 36 kB / 1.216 GB, free: 360 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.3995, allocations: 28 kB / 1.216 GB, free: 332 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.4012, allocations: 1.12 MB / 1.217 GB, free: 15.21 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.003558/0.4048, allocations: 2.773 MB / 1.22 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.4062, allocations: 0.8082 MB / 1.221 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005148/0.4067, allocations: 306.7 kB / 1.221 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.287e-05/0.4068, allocations: 36.59 kB / 1.221 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008094/0.4076, allocations: 0.4893 MB / 1.222 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 1.914e-06/0.4077, allocations: 0 / 1.222 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003075/0.4107, allocations: 1.205 MB / 1.223 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/0.4108, allocations: 192.5 kB / 1.223 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006795/0.4115, allocations: 0.6411 MB / 1.224 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.4116, allocations: 45.69 kB / 1.224 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.4119, allocations: 416.3 kB / 1.224 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.412, allocations: 264.1 kB / 1.224 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.4123, allocations: 154.5 kB / 1.224 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4124, allocations: 382.8 kB / 1.225 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/0.4129, allocations: 249.9 kB / 1.225 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/0.4135, allocations: 362.6 kB / 1.225 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.4145, allocations: 0.5916 MB / 1.226 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4145, allocations: 0 / 1.226 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00179/0.4163, allocations: 0.8136 MB / 1.227 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.4163, allocations: 4 kB / 1.227 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4164, allocations: 7.938 kB / 1.227 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005773/0.4169, allocations: 88.8 kB / 1.227 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006141/0.4176, allocations: 155.8 kB / 1.227 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.4194, allocations: 1.637 MB / 1.229 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005912/0.42, allocations: 91.39 kB / 1.229 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.105e-05/0.4201, allocations: 27.98 kB / 1.229 GB, free: 3.066 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 (89): * Single equations (assignments): 88 * 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.0003224/0.4204, allocations: 265.6 kB / 1.229 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.4206, allocations: 83.16 kB / 1.229 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/0.4229, allocations: 1.085 MB / 1.23 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.4229, allocations: 12 kB / 1.23 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.4229, allocations: 0 / 1.23 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.4229, allocations: 3.984 kB / 1.23 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008889/0.4238, allocations: 0.9075 MB / 1.231 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4238, allocations: 0 / 1.231 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006033/0.4244, allocations: 155.8 kB / 1.231 GB, free: 500 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004353/0.4249, allocations: 72.72 kB / 1.231 GB, free: 424 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.078e-05/0.4249, allocations: 27.98 kB / 1.231 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.4267, allocations: 1.662 MB / 1.233 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4267, allocations: 0 / 1.233 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.4292, allocations: 1.332 MB / 1.234 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/0.4295, allocations: 275.7 kB / 1.234 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.4296, allocations: 24 kB / 1.234 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006149/0.4303, allocations: 67.98 kB / 1.234 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.4304, allocations: 76.84 kB / 1.235 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.469e-05/0.4305, allocations: 35.97 kB / 1.235 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004947/0.431, allocations: 467 kB / 1.235 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.431, allocations: 0 / 1.235 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006662/0.4317, allocations: 327.2 kB / 1.235 GB, free: 11.96 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 (93): * Single equations (assignments): 87 * 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.003881/0.4355, allocations: 2.378 MB / 1.238 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002087/0.4376, allocations: 1.007 MB / 1.239 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4377, allocations: 0 / 1.239 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008786/0.4385, allocations: 0.5236 MB / 1.239 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.4396, allocations: 308 kB / 1.239 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009203/0.4489, allocations: 6.592 MB / 1.246 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000501/0.4494, allocations: 1.031 MB / 1.247 GB, free: 88 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.3778/0.8272, allocations: 262.6 kB / 1.247 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005204/0.8278, allocations: 400.4 kB / 1.247 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of SimCode: time 7.72e-07/0.8278, allocations: 0 / 1.247 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.305/3.133, allocations: 21.67 MB / 1.269 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/17.53, allocations: 8.719 kB / 1.269 GB, free: 187.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)