Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_9_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.001198/0.001198, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001164/0.001164, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.211/1.211, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 390.2 MB / 0.6643 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 55.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5153/0.5165, allocations: 140.4 MB / 0.9491 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.005078/0.5217, allocations: 5.08 MB / 0.954 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1354/0.6571, allocations: 148.9 MB / 1.099 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007906/0.6579, allocations: 19.88 kB / 1.099 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004936/0.6585, allocations: 150.8 kB / 1.1 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.6599, allocations: 0.5088 MB / 1.1 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.6616, allocations: 0.8525 MB / 1.101 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.6628, allocations: 1.746 MB / 1.103 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008813/0.6637, allocations: 0.7898 MB / 1.103 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005299/0.6643, allocations: 0.572 MB / 1.104 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005934/0.6649, allocations: 0.6845 MB / 1.105 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001516/0.665, allocations: 80 kB / 1.105 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008378/0.6659, allocations: 0.5385 MB / 1.105 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002881/0.6662, allocations: 358.7 kB / 1.106 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000514/0.6667, allocations: 0.6798 MB / 1.106 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.6684, allocations: 2.052 MB / 1.108 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6684, allocations: 0 / 1.108 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6684, allocations: 0 / 1.108 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.6684, allocations: 0 / 1.108 GB, free: 14.46 MB / 0.8731 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.003352/0.6718, allocations: 1.795 MB / 1.11 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.6718, allocations: 12.03 kB / 1.11 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/0.672, allocations: 186 kB / 1.11 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008568/0.6806, allocations: 1.275 MB / 1.111 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.6819, allocations: 0.9572 MB / 1.112 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-05/0.6819, allocations: 98.44 kB / 1.112 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.6821, allocations: 112 kB / 1.113 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004448/0.6866, allocations: 2.045 MB / 1.115 GB, free: 7.809 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.6866, allocations: 0 / 1.115 GB, free: 7.809 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.6867, allocations: 52 kB / 1.115 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.6868, allocations: 28 kB / 1.115 GB, free: 7.73 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006524/0.6933, allocations: 2.764 MB / 1.117 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007453/0.7008, allocations: 4.465 MB / 1.122 GB, free: 424 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007247/0.708, allocations: 2.747 MB / 1.124 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002811/0.7108, allocations: 1.04 MB / 1.125 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005603/0.7114, allocations: 0.6101 MB / 1.126 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003221/0.7147, allocations: 1.356 MB / 1.127 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=132): time 4.098e-06/0.7147, allocations: 3.984 kB / 1.127 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of matching and sorting (n=132): time 0.009769/0.7244, allocations: 3.383 MB / 1.131 GB, free: 7.059 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.7245, allocations: 201.2 kB / 1.131 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000861/0.7254, allocations: 0.7668 MB / 1.132 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.7255, allocations: 49.7 kB / 1.132 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.7259, allocations: 492.8 kB / 1.132 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003187/0.7262, allocations: 429.8 kB / 1.133 GB, free: 5.07 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004341/0.7266, allocations: 250.7 kB / 1.133 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.7267, allocations: 349.9 kB / 1.133 GB, free: 4.473 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002628/0.7294, allocations: 0.9431 MB / 1.134 GB, free: 3.527 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002732/0.7321, allocations: 1.089 MB / 1.135 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005252/0.7374, allocations: 1.903 MB / 1.137 GB, free: 496 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.7374, allocations: 0 / 1.137 GB, free: 496 kB / 0.8887 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.006312/0.7437, allocations: 2.276 MB / 1.139 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.7437, allocations: 11.94 kB / 1.139 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.7437, allocations: 0 / 1.139 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005465/0.7443, allocations: 84.84 kB / 1.139 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/0.7465, allocations: 419.3 kB / 1.14 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.7483, allocations: 1.525 MB / 1.141 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/0.7503, allocations: 284.3 kB / 1.141 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.7505, allocations: 63.92 kB / 1.141 GB, free: 11.69 MB / 0.9044 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.0006064/0.7511, allocations: 335.4 kB / 1.142 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002815/0.7514, allocations: 106.7 kB / 1.142 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007258/0.7586, allocations: 2.731 MB / 1.145 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.7587, allocations: 19.94 kB / 1.145 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.7587, allocations: 0 / 1.145 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.7587, allocations: 7.969 kB / 1.145 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008824/0.7675, allocations: 4.298 MB / 1.149 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.7675, allocations: 0 / 1.149 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002114/0.7697, allocations: 411.4 kB / 1.149 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004792/0.7702, allocations: 84.77 kB / 1.149 GB, free: 3.625 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/0.7703, allocations: 51.94 kB / 1.149 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.772, allocations: 1.559 MB / 1.151 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.772, allocations: 0 / 1.151 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00659/0.7786, allocations: 2.495 MB / 1.153 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006245/0.7792, allocations: 431.1 kB / 1.154 GB, free: 14.92 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000239/0.7795, allocations: 28 kB / 1.154 GB, free: 14.89 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001892/0.7814, allocations: 223.7 kB / 1.154 GB, free: 14.68 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.7816, allocations: 109.2 kB / 1.154 GB, free: 14.57 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/0.7817, allocations: 60.08 kB / 1.154 GB, free: 14.51 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006785/0.7824, allocations: 0.5576 MB / 1.155 GB, free: 13.95 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7824, allocations: 0 / 1.155 GB, free: 13.95 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001173/0.7836, allocations: 475.1 kB / 1.155 GB, free: 13.49 MB / 0.92 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.007932/0.7915, allocations: 3.589 MB / 1.159 GB, free: 10.05 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00606/0.7976, allocations: 2.316 MB / 1.161 GB, free: 7.723 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.7976, allocations: 3.938 kB / 1.161 GB, free: 7.719 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003243/0.8009, allocations: 1.306 MB / 1.162 GB, free: 6.398 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.8022, allocations: 301.9 kB / 1.162 GB, free: 6.113 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02769/0.8299, allocations: 13.04 MB / 1.175 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/0.8306, allocations: 1.167 MB / 1.176 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001745/0.8323, allocations: 477.1 kB / 1.177 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009545/0.8333, allocations: 0.5382 MB / 1.177 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of SimCode: time 8.22e-07/0.8333, allocations: 0 / 1.177 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.088/6.921, allocations: 29.69 MB / 1.206 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/6.922, allocations: 288.3 kB / 1.207 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.609/9.53, allocations: 1.25 kB / 1.207 GB, free: 8.828 MB / 0.9669 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)