Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,fileNamePrefix="Buildings_10_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.008655/0.008655, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001917/0.001918, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.318/2.318, allocations: 437.1 MB / 0.7105 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 63.83 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6124/0.6141, allocations: 151.6 MB / 1.166 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01105/0.6252, allocations: 9.895 MB / 1.176 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1571/0.7824, allocations: 154.7 MB / 1.327 GB, free: 14.47 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.784, allocations: 43.75 kB / 1.327 GB, free: 14.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002974/0.787, allocations: 1.15 MB / 1.328 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003113/0.7901, allocations: 1.136 MB / 1.329 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003619/0.7938, allocations: 1.708 MB / 1.331 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005406/0.7992, allocations: 4.875 MB / 1.336 GB, free: 5.547 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002031/0.8012, allocations: 1.794 MB / 1.337 GB, free: 3.707 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/0.8035, allocations: 2.018 MB / 1.339 GB, free: 1.684 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.8054, allocations: 1.724 MB / 1.341 GB, free: 15.95 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004875/0.8059, allocations: 372 kB / 1.341 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.8076, allocations: 1.163 MB / 1.343 GB, free: 14.43 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0008968/0.8086, allocations: 1.001 MB / 1.343 GB, free: 13.42 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001633/0.8102, allocations: 1.781 MB / 1.345 GB, free: 11.63 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005025/0.8152, allocations: 5.532 MB / 1.351 GB, free: 6.082 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.8152, allocations: 4 kB / 1.351 GB, free: 6.078 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8152, allocations: 0 / 1.351 GB, free: 6.078 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.475e-05/0.8153, allocations: 0 / 1.351 GB, free: 6.078 MB / 1.076 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.006826/0.8221, allocations: 4.205 MB / 1.355 GB, free: 1.809 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.8222, allocations: 12.92 kB / 1.355 GB, free: 1.797 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003416/0.8225, allocations: 298.8 kB / 1.355 GB, free: 1.496 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00688/0.8294, allocations: 1.592 MB / 1.357 GB, free: 15.9 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003677/0.8331, allocations: 2.687 MB / 1.359 GB, free: 13.14 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/0.8333, allocations: 197.4 kB / 1.359 GB, free: 12.95 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003121/0.8336, allocations: 208 kB / 1.36 GB, free: 12.74 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005847/0.8394, allocations: 3.323 MB / 1.363 GB, free: 9.363 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.8395, allocations: 0 / 1.363 GB, free: 9.363 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002167/0.8397, allocations: 83.94 kB / 1.363 GB, free: 9.281 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.358e-05/0.8397, allocations: 48 kB / 1.363 GB, free: 9.234 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007939/0.8477, allocations: 3.948 MB / 1.367 GB, free: 5.281 MB / 1.092 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.01507/0.8628, allocations: 10.42 MB / 1.377 GB, free: 10.5 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006483/0.8693, allocations: 2.895 MB / 1.38 GB, free: 7.598 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002769/0.872, allocations: 1.382 MB / 1.381 GB, free: 6.219 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006883/0.8727, allocations: 0.4913 MB / 1.382 GB, free: 5.633 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00306/0.8758, allocations: 1.61 MB / 1.383 GB, free: 4.004 MB / 1.107 GB Notification: Performance of pre-optimization done (n=166): time 2.575e-06/0.8758, allocations: 0 / 1.383 GB, free: 4.004 MB / 1.107 GB Notification: Performance of matching and sorting (n=166): time 0.01048/0.8863, allocations: 4.704 MB / 1.388 GB, free: 15.2 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.8864, allocations: 197.2 kB / 1.388 GB, free: 14.96 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003756/0.8902, allocations: 3.115 MB / 1.391 GB, free: 11.83 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.8903, allocations: 73.62 kB / 1.391 GB, free: 11.75 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009889/0.8913, allocations: 1.144 MB / 1.392 GB, free: 10.6 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005047/0.8919, allocations: 0.5733 MB / 1.393 GB, free: 10.02 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006439/0.8925, allocations: 403.4 kB / 1.393 GB, free: 9.617 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.8926, allocations: 305.1 kB / 1.393 GB, free: 9.316 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002794/0.8954, allocations: 1.347 MB / 1.395 GB, free: 7.969 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003109/0.8985, allocations: 1.764 MB / 1.397 GB, free: 6.051 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005684/0.9042, allocations: 2.955 MB / 1.399 GB, free: 2.957 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.9043, allocations: 4 kB / 1.399 GB, free: 2.953 MB / 1.123 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.007352/0.9116, allocations: 3.661 MB / 1.403 GB, free: 15.27 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.9116, allocations: 8 kB / 1.403 GB, free: 15.26 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.9117, allocations: 12 kB / 1.403 GB, free: 15.25 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/0.9131, allocations: 375.2 kB / 1.403 GB, free: 14.87 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/0.9154, allocations: 0.5343 MB / 1.404 GB, free: 14.34 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02622/0.9416, allocations: 5.71 MB / 1.409 GB, free: 8.184 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002609/0.9442, allocations: 490.1 kB / 1.41 GB, free: 7.703 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/0.9444, allocations: 91.88 kB / 1.41 GB, free: 7.613 MB / 1.139 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.001595/0.946, allocations: 1.113 MB / 1.411 GB, free: 6.492 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004491/0.9465, allocations: 262.3 kB / 1.411 GB, free: 6.234 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007887/0.9544, allocations: 3.536 MB / 1.415 GB, free: 2.676 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.9544, allocations: 24 kB / 1.415 GB, free: 2.652 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.9544, allocations: 0 / 1.415 GB, free: 2.652 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/0.9545, allocations: 7.969 kB / 1.415 GB, free: 2.645 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003551/0.958, allocations: 2.959 MB / 1.418 GB, free: 15.63 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.958, allocations: 7.938 kB / 1.418 GB, free: 15.62 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/0.96, allocations: 423.3 kB / 1.418 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/0.9614, allocations: 351.1 kB / 1.418 GB, free: 14.85 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/0.9616, allocations: 55.94 kB / 1.419 GB, free: 14.8 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005451/0.967, allocations: 5.723 MB / 1.424 GB, free: 8.621 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.967, allocations: 0 / 1.424 GB, free: 8.621 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/0.9776, allocations: 4.907 MB / 1.429 GB, free: 3.684 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001718/0.9793, allocations: 0.7955 MB / 1.43 GB, free: 2.867 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004927/0.9798, allocations: 47.94 kB / 1.43 GB, free: 2.82 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002132/0.982, allocations: 307.5 kB / 1.43 GB, free: 2.52 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00031/0.9823, allocations: 129.8 kB / 1.43 GB, free: 2.391 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/0.9825, allocations: 71.94 kB / 1.43 GB, free: 2.32 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003337/0.9858, allocations: 2.22 MB / 1.432 GB, free: 92 kB / 1.154 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9858, allocations: 0 / 1.432 GB, free: 92 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.002204/0.988, allocations: 0.8655 MB / 1.433 GB, free: 15.22 MB / 1.17 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.01228/1, allocations: 6.042 MB / 1.439 GB, free: 9.305 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.006802/1.007, allocations: 3.375 MB / 1.442 GB, free: 5.887 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.007, allocations: 0 / 1.442 GB, free: 5.887 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003486/1.011, allocations: 1.824 MB / 1.444 GB, free: 4.031 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/1.014, allocations: 0.8421 MB / 1.445 GB, free: 3.211 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04285/1.056, allocations: 27.53 MB / 1.472 GB, free: 7.168 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002049/1.058, allocations: 2.341 MB / 1.474 GB, free: 4.789 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.002467/1.061, allocations: 0.9438 MB / 1.475 GB, free: 3.84 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001719/1.063, allocations: 1.151 MB / 1.476 GB, free: 2.688 MB / 1.201 GB Notification: Performance of SimCode: time 7.01e-07/1.063, allocations: 3.938 kB / 1.476 GB, free: 2.684 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.571/2.634, allocations: 70.86 MB / 1.545 GB, free: 12.3 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.58/22.21, allocations: 11.59 kB / 1.545 GB, free: 12.29 MB / 1.279 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall_fmu --startTime=0 --stopTime=1.2096e+06 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.fmu > Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1)