Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.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.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall",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.00579/0.00579, allocations: 102 kB / 15.73 MB, free: 6.445 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.001692/0.001692, allocations: 196.5 kB / 16.67 MB, free: 6.352 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.797/2.797, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 63.89 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3125, allocations: 162.3 MB / 1.242 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.616/0.9286, allocations: 9.858 MB / 1.251 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1996/1.128, allocations: 154.7 MB / 1.403 GB, free: 10.11 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002728/1.131, allocations: 45.28 kB / 1.403 GB, free: 10.1 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004239/1.135, allocations: 1.143 MB / 1.404 GB, free: 9.301 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004892/1.14, allocations: 1.148 MB / 1.405 GB, free: 8.375 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005528/1.146, allocations: 1.708 MB / 1.406 GB, free: 7.078 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00733/1.153, allocations: 4.883 MB / 1.411 GB, free: 4.234 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002951/1.156, allocations: 1.796 MB / 1.413 GB, free: 3.332 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003955/1.16, allocations: 2.021 MB / 1.415 GB, free: 2.234 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003812/1.164, allocations: 1.722 MB / 1.417 GB, free: 1.086 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001178/1.165, allocations: 371.6 kB / 1.417 GB, free: 1.086 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003397/1.169, allocations: 1.166 MB / 1.418 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001544/1.17, allocations: 0.9938 MB / 1.419 GB, free: 15.9 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003291/1.173, allocations: 1.778 MB / 1.421 GB, free: 14.62 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.008486/1.182, allocations: 5.538 MB / 1.426 GB, free: 10.19 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.182, allocations: 0 / 1.426 GB, free: 10.19 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.212e-06/1.182, allocations: 0 / 1.426 GB, free: 10.19 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001899/1.182, allocations: 0 / 1.426 GB, free: 10.19 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 502 * Number of variables: 502 Notification: Performance of Generate backend data structure: time 0.01115/1.193, allocations: 4.212 MB / 1.43 GB, free: 5.91 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.193, allocations: 12.03 kB / 1.43 GB, free: 5.898 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005612/1.194, allocations: 290.9 kB / 1.431 GB, free: 5.605 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008152/1.202, allocations: 1.59 MB / 1.432 GB, free: 4.012 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005683/1.208, allocations: 2.689 MB / 1.435 GB, free: 1.254 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/1.208, allocations: 189.6 kB / 1.435 GB, free: 1.062 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005854/1.209, allocations: 208 kB / 1.435 GB, free: 0.8594 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007626/1.216, allocations: 3.315 MB / 1.438 GB, free: 13.48 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/1.216, allocations: 0 / 1.438 GB, free: 13.48 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002467/1.217, allocations: 87.94 kB / 1.439 GB, free: 13.4 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.31e-05/1.217, allocations: 48 kB / 1.439 GB, free: 13.35 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009757/1.226, allocations: 3.956 MB / 1.442 GB, free: 9.395 MB / 1.139 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.02247/1.249, allocations: 10.58 MB / 1.453 GB, free: 14.41 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008056/1.257, allocations: 2.902 MB / 1.456 GB, free: 11.51 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003366/1.261, allocations: 1.383 MB / 1.457 GB, free: 10.13 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007919/1.261, allocations: 490.9 kB / 1.457 GB, free: 9.559 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003789/1.265, allocations: 1.614 MB / 1.459 GB, free: 7.926 MB / 1.154 GB Notification: Performance of pre-optimization done (n=166): time 6.132e-06/1.265, allocations: 0 / 1.459 GB, free: 7.926 MB / 1.154 GB Notification: Performance of matching and sorting (n=166): time 0.01276/1.278, allocations: 4.704 MB / 1.464 GB, free: 3.129 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/1.278, allocations: 205.2 kB / 1.464 GB, free: 2.883 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006077/1.284, allocations: 3.123 MB / 1.467 GB, free: 15.73 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004205/1.285, allocations: 61.7 kB / 1.467 GB, free: 15.67 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001377/1.286, allocations: 1.148 MB / 1.468 GB, free: 14.51 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009448/1.287, allocations: 0.5733 MB / 1.469 GB, free: 13.93 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/1.288, allocations: 403.4 kB / 1.469 GB, free: 13.53 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.288, allocations: 305.1 kB / 1.469 GB, free: 13.23 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003302/1.292, allocations: 1.343 MB / 1.471 GB, free: 11.89 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003639/1.295, allocations: 1.768 MB / 1.472 GB, free: 9.965 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006534/1.302, allocations: 2.959 MB / 1.475 GB, free: 6.867 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/1.302, allocations: 4 kB / 1.475 GB, free: 6.863 MB / 1.17 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.009125/1.311, allocations: 3.661 MB / 1.479 GB, free: 3.18 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/1.311, allocations: 8.219 kB / 1.479 GB, free: 3.172 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/1.311, allocations: 16 kB / 1.479 GB, free: 3.156 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00176/1.313, allocations: 367 kB / 1.479 GB, free: 2.785 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00263/1.316, allocations: 0.5382 MB / 1.48 GB, free: 2.246 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005851/1.321, allocations: 5.707 MB / 1.485 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003794/1.325, allocations: 484.2 kB / 1.486 GB, free: 11.62 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004533/1.326, allocations: 87.94 kB / 1.486 GB, free: 11.53 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 21 (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,bouConExt.HDifTil[1].incAng.decAng.tNext,$PRE.bouConExt.HDifTil[1].incAng.decAng.tNext,bouConExt.HDirTil[1].incAng.decAng.tNext,$PRE.bouConExt.HDirTil[1].incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002414/1.328, allocations: 1.12 MB / 1.487 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009686/1.329, allocations: 258.3 kB / 1.487 GB, free: 10.15 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009384/1.338, allocations: 3.541 MB / 1.491 GB, free: 6.582 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.506e-05/1.339, allocations: 23.94 kB / 1.491 GB, free: 6.559 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/1.339, allocations: 0 / 1.491 GB, free: 6.559 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.546e-05/1.339, allocations: 11.95 kB / 1.491 GB, free: 6.547 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005335/1.344, allocations: 2.948 MB / 1.494 GB, free: 3.543 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/1.344, allocations: 0 / 1.494 GB, free: 3.543 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002289/1.346, allocations: 423.3 kB / 1.494 GB, free: 3.129 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001597/1.348, allocations: 347.1 kB / 1.494 GB, free: 2.777 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002858/1.348, allocations: 63.94 kB / 1.494 GB, free: 2.715 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00548/1.354, allocations: 5.718 MB / 1.5 GB, free: 12.55 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.354, allocations: 11.91 kB / 1.5 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/1.365, allocations: 4.9 MB / 1.505 GB, free: 7.605 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001766/1.367, allocations: 0.7877 MB / 1.505 GB, free: 6.797 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006821/1.368, allocations: 51.94 kB / 1.506 GB, free: 6.746 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002541/1.37, allocations: 311.5 kB / 1.506 GB, free: 6.441 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003263/1.37, allocations: 125.8 kB / 1.506 GB, free: 6.316 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/1.371, allocations: 67.94 kB / 1.506 GB, free: 6.25 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.004063/1.375, allocations: 2.224 MB / 1.508 GB, free: 4.016 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.9e-07/1.375, allocations: 4 kB / 1.508 GB, free: 4.012 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002656/1.377, allocations: 0.8654 MB / 1.509 GB, free: 3.145 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (conExt[1].opa.lay[1].T[1],conExt[1].opa.lay[1].T[2],conExt[1].opa.lay[2].T[1],conExt[1].opa.lay[2].T[2],conExt[1].opa.lay[2].T[3]) * Number of discrete variables: 14 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,bouConExt.HDirTil[1].incAng.decAng.tNext,bouConExt.HDifTil[1].incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 7 (bouConExt.HDirTil[1].incAng.decAng.tNext,bouConExt.HDifTil[1].incAng.decAng.tNext,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 (172): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01331/1.391, allocations: 6.06 MB / 1.515 GB, free: 13.23 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007334/1.398, allocations: 3.365 MB / 1.518 GB, free: 9.828 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/1.398, allocations: 0 / 1.518 GB, free: 9.828 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003654/1.402, allocations: 1.835 MB / 1.52 GB, free: 7.957 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003864/1.406, allocations: 0.8441 MB / 1.521 GB, free: 7.141 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04965/1.455, allocations: 27.52 MB / 1.548 GB, free: 11.1 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002706/1.458, allocations: 2.353 MB / 1.55 GB, free: 8.711 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002935/1.461, allocations: 0.9322 MB / 1.551 GB, free: 7.777 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002042/1.463, allocations: 1.155 MB / 1.552 GB, free: 6.621 MB / 1.248 GB Notification: Performance of SimCode: time 6.51e-07/1.463, allocations: 3.938 kB / 1.552 GB, free: 6.617 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8167/2.28, allocations: 70.87 MB / 1.621 GB, free: 320 kB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.21/19.49, allocations: 3.953 kB / 1.621 GB, free: 316 kB / 1.311 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall_fmu --startTime=0 --stopTime=1.2096e+06 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1)