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.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.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.001268/0.001268, 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.00126/0.00126, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.528/2.528, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 61.64 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2195, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1417/0.3612, allocations: 166.1 MB / 1.215 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009482/0.3707, allocations: 7.805 MB / 1.223 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005736/0.3713, allocations: 35.81 kB / 1.223 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008315/0.3722, allocations: 397 kB / 1.223 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00232/0.3746, allocations: 1.313 MB / 1.224 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.3765, allocations: 1.168 MB / 1.226 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001779/0.3783, allocations: 2.344 MB / 1.228 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.3794, allocations: 1.186 MB / 1.229 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007681/0.3802, allocations: 0.8212 MB / 1.23 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.3812, allocations: 0.7875 MB / 1.231 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.3814, allocations: 152 kB / 1.231 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.3829, allocations: 1.096 MB / 1.232 GB, free: 432 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003212/0.3832, allocations: 430.7 kB / 1.232 GB, free: 0 / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005902/0.3838, allocations: 0.7853 MB / 1.233 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00201/0.3859, allocations: 2.36 MB / 1.235 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3859, allocations: 0 / 1.235 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3859, allocations: 0 / 1.235 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.653e-05/0.3859, allocations: 0 / 1.235 GB, free: 12.84 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.002683/0.3886, allocations: 1.875 MB / 1.237 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.3886, allocations: 8.625 kB / 1.237 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001697/0.3888, allocations: 172.9 kB / 1.237 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.3905, allocations: 329.7 kB / 1.238 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.3917, allocations: 0.9796 MB / 1.239 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.652e-05/0.3918, allocations: 82.19 kB / 1.239 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.3919, allocations: 111.9 kB / 1.239 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.3936, allocations: 1.172 MB / 1.24 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.3936, allocations: 0 / 1.24 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.74e-05/0.3937, allocations: 52 kB / 1.24 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-05/0.3938, allocations: 46.05 kB / 1.24 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/0.3957, allocations: 1.308 MB / 1.241 GB, free: 6.523 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.004558/0.4002, allocations: 3.846 MB / 1.245 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.4019, allocations: 0.9928 MB / 1.246 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006069/0.4025, allocations: 395.7 kB / 1.246 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.956e-05/0.4025, allocations: 37.03 kB / 1.246 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008548/0.4034, allocations: 0.5796 MB / 1.247 GB, free: 456 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 2.114e-06/0.4034, allocations: 3.938 kB / 1.247 GB, free: 452 kB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.3938/0.7972, allocations: 1.435 MB / 1.248 GB, free: 194 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.7973, allocations: 194.9 kB / 1.249 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009981/0.7983, allocations: 0.833 MB / 1.249 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/0.7983, allocations: 48.08 kB / 1.249 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.7987, allocations: 0.5317 MB / 1.25 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.7988, allocations: 341.2 kB / 1.25 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.7991, allocations: 180.8 kB / 1.25 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.407e-05/0.7991, allocations: 340.4 kB / 1.251 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005535/0.7997, allocations: 320.3 kB / 1.251 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/0.8003, allocations: 473 kB / 1.251 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.8015, allocations: 0.781 MB / 1.252 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8015, allocations: 2.844 kB / 1.252 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001823/0.8033, allocations: 1.031 MB / 1.253 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.8033, allocations: 3.094 kB / 1.253 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.8033, allocations: 11.41 kB / 1.253 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005424/0.8039, allocations: 81.59 kB / 1.253 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007171/0.8046, allocations: 210.7 kB / 1.254 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.8061, allocations: 1.631 MB / 1.255 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008355/0.807, allocations: 111 kB / 1.255 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.722e-05/0.8071, allocations: 36.95 kB / 1.255 GB, free: 191.1 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.0003522/0.8074, allocations: 319.4 kB / 1.256 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.8076, allocations: 114.8 kB / 1.256 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.8098, allocations: 1.247 MB / 1.257 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.8098, allocations: 12.38 kB / 1.257 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.8098, allocations: 2.656 kB / 1.257 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.8098, allocations: 4.5 kB / 1.257 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.8109, allocations: 1.173 MB / 1.258 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.8109, allocations: 0.6094 kB / 1.258 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007944/0.8117, allocations: 205 kB / 1.258 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004016/0.8122, allocations: 77.44 kB / 1.258 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.934e-05/0.8122, allocations: 29.53 kB / 1.258 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/0.8136, allocations: 1.662 MB / 1.26 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8136, allocations: 3.938 kB / 1.26 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/0.8161, allocations: 1.567 MB / 1.262 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000341/0.8165, allocations: 325.1 kB / 1.262 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.8166, allocations: 24.62 kB / 1.262 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007685/0.8174, allocations: 70.73 kB / 1.262 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.8175, allocations: 86.88 kB / 1.262 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-05/0.8176, allocations: 40.03 kB / 1.262 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005977/0.8182, allocations: 0.5861 MB / 1.263 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8182, allocations: 0 / 1.263 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007696/0.819, allocations: 423.2 kB / 1.263 GB, free: 188.7 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.004163/0.8232, allocations: 2.649 MB / 1.266 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002651/0.8258, allocations: 1.24 MB / 1.267 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8258, allocations: 1.344 kB / 1.267 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009386/0.8268, allocations: 0.6094 MB / 1.267 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.8285, allocations: 488.9 kB / 1.268 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.84, allocations: 8.638 MB / 1.276 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.8406, allocations: 1.154 MB / 1.277 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001024/0.8417, allocations: 324.4 kB / 1.278 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005598/0.8422, allocations: 0.5176 MB / 1.278 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.8422, allocations: 0 / 1.278 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.531/3.373, allocations: 29.32 MB / 1.307 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/18.39, allocations: 15.98 kB / 1.307 GB, free: 164.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)