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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.00458/0.00458, allocations: 99.25 kB / 15.73 MB, free: 6.492 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.001279/0.001279, allocations: 198.8 kB / 16.68 MB, free: 6.375 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.768/2.768, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 71.88 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2834, allocations: 162.3 MB / 1.242 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006677/0.2901, allocations: 5.119 MB / 1.247 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6758/0.9659, allocations: 150.6 MB / 1.394 GB, free: 1.195 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006688/0.9667, allocations: 19.66 kB / 1.394 GB, free: 1.188 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005235/0.9672, allocations: 197.5 kB / 1.394 GB, free: 1.016 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.9687, allocations: 0.5553 MB / 1.395 GB, free: 0.6133 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.9705, allocations: 0.8466 MB / 1.396 GB, free: 15.99 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.9718, allocations: 1.423 MB / 1.397 GB, free: 15.11 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000811/0.9726, allocations: 0.5927 MB / 1.397 GB, free: 14.74 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005999/0.9732, allocations: 0.4883 MB / 1.398 GB, free: 14.44 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006035/0.9738, allocations: 0.5118 MB / 1.398 GB, free: 14.08 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.974, allocations: 118.9 kB / 1.399 GB, free: 14.08 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008062/0.9748, allocations: 490.2 kB / 1.399 GB, free: 13.89 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000278/0.9751, allocations: 298.4 kB / 1.399 GB, free: 13.66 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005115/0.9756, allocations: 0.579 MB / 1.4 GB, free: 13.23 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.9773, allocations: 1.669 MB / 1.402 GB, free: 12.04 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.9774, allocations: 1.219 kB / 1.402 GB, free: 12.04 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9774, allocations: 0 / 1.402 GB, free: 12.04 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.9774, allocations: 0 / 1.402 GB, free: 12.04 MB / 1.107 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.002348/0.9797, allocations: 1.513 MB / 1.403 GB, free: 10.84 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.9798, allocations: 10.44 kB / 1.403 GB, free: 10.84 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/0.9799, allocations: 133.2 kB / 1.403 GB, free: 10.73 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008459/0.9808, allocations: 201.7 kB / 1.403 GB, free: 10.63 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.9819, allocations: 0.7822 MB / 1.404 GB, free: 9.988 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.667e-05/0.982, allocations: 66.38 kB / 1.404 GB, free: 9.957 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.9821, allocations: 87.61 kB / 1.404 GB, free: 9.926 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.9836, allocations: 0.9308 MB / 1.405 GB, free: 9.332 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.9836, allocations: 1.312 kB / 1.405 GB, free: 9.332 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.394e-05/0.9837, allocations: 40.17 kB / 1.405 GB, free: 9.301 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.9837, allocations: 24.89 kB / 1.405 GB, free: 9.297 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.9855, allocations: 1.119 MB / 1.406 GB, free: 8.762 MB / 1.107 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.003894/0.9894, allocations: 2.823 MB / 1.409 GB, free: 6.469 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.9908, allocations: 0.8148 MB / 1.41 GB, free: 6.055 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005376/0.9914, allocations: 309.1 kB / 1.41 GB, free: 5.902 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.978e-05/0.9915, allocations: 26.89 kB / 1.41 GB, free: 5.891 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008386/0.9923, allocations: 0.4949 MB / 1.411 GB, free: 5.566 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 2.164e-06/0.9923, allocations: 0 / 1.411 GB, free: 5.566 MB / 1.107 GB Notification: Performance of matching and sorting (n=82): time 0.003085/0.9954, allocations: 1.208 MB / 1.412 GB, free: 4.914 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.9955, allocations: 193.7 kB / 1.412 GB, free: 4.691 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007477/0.9963, allocations: 0.6394 MB / 1.413 GB, free: 4.32 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.093e-05/0.9964, allocations: 42.98 kB / 1.413 GB, free: 4.277 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.9967, allocations: 414.6 kB / 1.413 GB, free: 3.914 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.9969, allocations: 282.9 kB / 1.413 GB, free: 3.668 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.9971, allocations: 153.1 kB / 1.414 GB, free: 3.578 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.9973, allocations: 393.6 kB / 1.414 GB, free: 3.203 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004727/0.9978, allocations: 246.8 kB / 1.414 GB, free: 3.082 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005817/0.9984, allocations: 360.9 kB / 1.414 GB, free: 2.855 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.9995, allocations: 0.5913 MB / 1.415 GB, free: 2.531 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.9995, allocations: 1.344 kB / 1.415 GB, free: 2.531 MB / 1.107 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001786/1.001, allocations: 0.8169 MB / 1.416 GB, free: 2.113 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/1.001, allocations: 9.469 kB / 1.416 GB, free: 2.109 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/1.001, allocations: 1.094 kB / 1.416 GB, free: 2.109 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005702/1.002, allocations: 88.98 kB / 1.416 GB, free: 2.062 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/1.003, allocations: 158.2 kB / 1.416 GB, free: 2.023 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/1.005, allocations: 1.619 MB / 1.418 GB, free: 440 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006263/1.005, allocations: 93.09 kB / 1.418 GB, free: 376 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/1.005, allocations: 36.36 kB / 1.418 GB, free: 360 kB / 1.107 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.0003565/1.006, allocations: 263 kB / 1.418 GB, free: 148 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/1.006, allocations: 88.59 kB / 1.418 GB, free: 100 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/1.008, allocations: 1.074 MB / 1.419 GB, free: 15.5 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/1.008, allocations: 12.81 kB / 1.419 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.008, allocations: 0 / 1.419 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/1.008, allocations: 10.7 kB / 1.419 GB, free: 15.48 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009672/1.009, allocations: 0.9128 MB / 1.42 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/1.009, allocations: 0 / 1.42 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005814/1.01, allocations: 155.4 kB / 1.42 GB, free: 14.75 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004141/1.01, allocations: 69.64 kB / 1.42 GB, free: 14.72 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/1.01, allocations: 32.78 kB / 1.42 GB, free: 14.7 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/1.012, allocations: 1.661 MB / 1.422 GB, free: 13.08 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.012, allocations: 1.344 kB / 1.422 GB, free: 13.08 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/1.014, allocations: 1.34 MB / 1.423 GB, free: 12.36 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/1.015, allocations: 280.6 kB / 1.424 GB, free: 12.11 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/1.015, allocations: 20 kB / 1.424 GB, free: 12.09 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005892/1.015, allocations: 67.92 kB / 1.424 GB, free: 12.02 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/1.016, allocations: 74.03 kB / 1.424 GB, free: 11.95 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.827e-05/1.016, allocations: 35.97 kB / 1.424 GB, free: 11.92 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005447/1.016, allocations: 463 kB / 1.424 GB, free: 11.47 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.61e-07/1.016, allocations: 0 / 1.424 GB, free: 11.47 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007599/1.017, allocations: 331.1 kB / 1.424 GB, free: 11.14 MB / 1.123 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.004514/1.021, allocations: 2.404 MB / 1.427 GB, free: 8.906 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001557/1.023, allocations: 0.8164 MB / 1.428 GB, free: 8.078 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.023, allocations: 0 / 1.428 GB, free: 8.078 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000909/1.024, allocations: 0.5158 MB / 1.428 GB, free: 7.547 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/1.025, allocations: 309.7 kB / 1.428 GB, free: 7.27 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009981/1.035, allocations: 6.388 MB / 1.435 GB, free: 0.7227 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006967/1.036, allocations: 1.035 MB / 1.436 GB, free: 15.66 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007763/1.037, allocations: 266.7 kB / 1.436 GB, free: 15.39 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/1.037, allocations: 399.3 kB / 1.436 GB, free: 15 MB / 1.139 GB Notification: Performance of SimCode: time 5.61e-07/1.037, allocations: 0 / 1.436 GB, free: 15 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.624/1.661, allocations: 21.92 MB / 1.458 GB, free: 9.367 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/14.88, allocations: 0 / 1.458 GB, free: 9.367 MB / 1.154 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=400 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)