Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",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.001212/0.001212, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008991/0.008991, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.345/1.345, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.558/2.558, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.000324, allocations: 16 kB / 0.873 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.579/0.5793, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.005955/0.5853, allocations: 5.392 MB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1491/0.7344, allocations: 147 MB / 1.172 GB, free: 6.844 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008008/0.7353, allocations: 15.94 kB / 1.172 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00063/0.7359, allocations: 174.6 kB / 1.172 GB, free: 6.656 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.7377, allocations: 0.5713 MB / 1.173 GB, free: 6.086 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.7397, allocations: 0.8539 MB / 1.174 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001944/0.7417, allocations: 1.858 MB / 1.175 GB, free: 3.375 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.7427, allocations: 0.7438 MB / 1.176 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007489/0.7435, allocations: 497.8 kB / 1.177 GB, free: 2.102 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007309/0.7442, allocations: 0.5792 MB / 1.177 GB, free: 1.52 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.7443, allocations: 40 kB / 1.177 GB, free: 1.48 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000892/0.7452, allocations: 0.4956 MB / 1.178 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.7455, allocations: 294.8 kB / 1.178 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000531/0.7461, allocations: 0.6386 MB / 1.179 GB, free: 48 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.7479, allocations: 2.032 MB / 1.181 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.7479, allocations: 0 / 1.181 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.456e-06/0.7479, allocations: 0 / 1.181 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.596e-05/0.7479, allocations: 3.938 kB / 1.181 GB, free: 14 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.002843/0.7508, allocations: 1.527 MB / 1.182 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.7508, allocations: 8.031 kB / 1.182 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002201/0.751, allocations: 190 kB / 1.182 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.7611, allocations: 1.564 MB / 1.184 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.7625, allocations: 0.9612 MB / 1.185 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.7626, allocations: 94.45 kB / 1.185 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/0.7628, allocations: 116 kB / 1.185 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005257/0.7681, allocations: 2.159 MB / 1.187 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.7681, allocations: 7.922 kB / 1.187 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/0.7683, allocations: 55.98 kB / 1.187 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.7683, allocations: 28 kB / 1.187 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008315/0.7767, allocations: 3.006 MB / 1.19 GB, free: 4.105 MB / 0.9356 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.008667/0.7853, allocations: 4.82 MB / 1.195 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008759/0.7941, allocations: 3.03 MB / 1.198 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003414/0.7975, allocations: 1.155 MB / 1.199 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005294/0.7981, allocations: 0.6139 MB / 1.199 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003904/0.802, allocations: 1.469 MB / 1.201 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=132): time 3.466e-06/0.802, allocations: 0 / 1.201 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of matching and sorting (n=132): time 0.01207/0.8141, allocations: 3.723 MB / 1.204 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.966e-05/0.8142, allocations: 197.2 kB / 1.205 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.8153, allocations: 0.7745 MB / 1.205 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001482/0.8155, allocations: 57.69 kB / 1.205 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/0.8159, allocations: 488.8 kB / 1.206 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003863/0.8163, allocations: 425.8 kB / 1.206 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.8165, allocations: 89.67 kB / 1.206 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.8166, allocations: 353.9 kB / 1.207 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00337/0.82, allocations: 1.06 MB / 1.208 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003487/0.8235, allocations: 1.206 MB / 1.209 GB, free: 224 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006691/0.8302, allocations: 2.134 MB / 1.211 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.8302, allocations: 0 / 1.211 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007915/0.8381, allocations: 2.503 MB / 1.214 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.8381, allocations: 4 kB / 1.214 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.8382, allocations: 4 kB / 1.214 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006152/0.8388, allocations: 84.83 kB / 1.214 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002555/0.8413, allocations: 483.3 kB / 1.214 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.8434, allocations: 1.544 MB / 1.216 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/0.8458, allocations: 350.7 kB / 1.216 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.846, allocations: 59.94 kB / 1.216 GB, free: 8.906 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (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,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * 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.0006796/0.8466, allocations: 334 kB / 1.216 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002629/0.8469, allocations: 106.7 kB / 1.216 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008968/0.8559, allocations: 2.957 MB / 1.219 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.8559, allocations: 23.88 kB / 1.219 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.8559, allocations: 3.984 kB / 1.219 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.8559, allocations: 3.984 kB / 1.219 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.8663, allocations: 4.548 MB / 1.224 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.8663, allocations: 3.984 kB / 1.224 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/0.8688, allocations: 467.4 kB / 1.224 GB, free: 404 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005342/0.8694, allocations: 88.78 kB / 1.224 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/0.8695, allocations: 43.94 kB / 1.224 GB, free: 268 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.8713, allocations: 1.571 MB / 1.226 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8713, allocations: 3.938 kB / 1.226 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00801/0.8794, allocations: 2.714 MB / 1.229 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007365/0.8801, allocations: 439.1 kB / 1.229 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/0.8804, allocations: 31.98 kB / 1.229 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00228/0.8827, allocations: 303.7 kB / 1.229 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/0.8829, allocations: 109.1 kB / 1.229 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/0.883, allocations: 63.94 kB / 1.229 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007838/0.8838, allocations: 0.5615 MB / 1.23 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8838, allocations: 0 / 1.23 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00126/0.8851, allocations: 495 kB / 1.23 GB, free: 9.816 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.009714/0.8948, allocations: 3.818 MB / 1.234 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007614/0.9024, allocations: 2.543 MB / 1.237 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.9025, allocations: 4 kB / 1.237 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003946/0.9064, allocations: 1.419 MB / 1.238 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.908, allocations: 319.1 kB / 1.238 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03215/0.9402, allocations: 13.64 MB / 1.252 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007747/0.941, allocations: 1.159 MB / 1.253 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001853/0.9429, allocations: 481.2 kB / 1.253 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/0.9439, allocations: 0.5382 MB / 1.254 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/0.9439, allocations: 0 / 1.254 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4915/1.435, allocations: 29.82 MB / 1.283 GB, free: 220 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/1.436, allocations: 294.4 kB / 1.283 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.718/4.154, allocations: 0 / 1.283 GB, free: 219.7 MB / 0.9981 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)