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.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.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.001269/0.001269, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.27/1.27, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.378/2.378, allocations: 437.1 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 67.89 kB / 0.8694 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.457/0.4582, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006181/0.4644, allocations: 5.849 MB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1264/0.5908, allocations: 151.3 MB / 1.171 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007691/0.5916, allocations: 23.81 kB / 1.171 GB, free: 4.684 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006151/0.5922, allocations: 221.9 kB / 1.171 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.594, allocations: 0.6561 MB / 1.172 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.5958, allocations: 0.9736 MB / 1.173 GB, free: 2.844 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001632/0.5974, allocations: 1.89 MB / 1.175 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000864/0.5983, allocations: 0.7716 MB / 1.175 GB, free: 144 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007086/0.599, allocations: 0.6736 MB / 1.176 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006298/0.5996, allocations: 0.7393 MB / 1.177 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.5998, allocations: 160 kB / 1.177 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008442/0.6007, allocations: 0.6167 MB / 1.177 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000289/0.601, allocations: 434.7 kB / 1.178 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005243/0.6015, allocations: 0.7775 MB / 1.179 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.6031, allocations: 2.165 MB / 1.181 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.6031, allocations: 4 kB / 1.181 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6031, allocations: 3.938 kB / 1.181 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.6031, allocations: 4 kB / 1.181 GB, free: 10.56 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.002644/0.6058, allocations: 1.805 MB / 1.183 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.6058, allocations: 12.03 kB / 1.183 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001712/0.606, allocations: 186 kB / 1.183 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008409/0.6144, allocations: 1.275 MB / 1.184 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.6156, allocations: 0.965 MB / 1.185 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.085e-05/0.6156, allocations: 94.45 kB / 1.185 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/0.6158, allocations: 112 kB / 1.185 GB, free: 6 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004312/0.6201, allocations: 2.045 MB / 1.187 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.6202, allocations: 4 kB / 1.187 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/0.6203, allocations: 48 kB / 1.187 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.6203, allocations: 28 kB / 1.187 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006922/0.6273, allocations: 2.764 MB / 1.19 GB, free: 1.039 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.007183/0.6345, allocations: 4.736 MB / 1.194 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007424/0.6419, allocations: 2.743 MB / 1.197 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002885/0.6448, allocations: 1.039 MB / 1.198 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004417/0.6452, allocations: 0.614 MB / 1.199 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003206/0.6485, allocations: 1.348 MB / 1.2 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=132): time 2.234e-06/0.6485, allocations: 4 kB / 1.2 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of matching and sorting (n=132): time 0.01018/0.6587, allocations: 3.375 MB / 1.203 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/0.6587, allocations: 197.2 kB / 1.204 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007732/0.6595, allocations: 0.7823 MB / 1.204 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.6596, allocations: 49.64 kB / 1.204 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.6599, allocations: 492.8 kB / 1.205 GB, free: 1.266 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/0.6602, allocations: 429.8 kB / 1.205 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003934/0.6606, allocations: 250.7 kB / 1.206 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.881e-05/0.6607, allocations: 349.9 kB / 1.206 GB, free: 244 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00285/0.6636, allocations: 0.9508 MB / 1.207 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002968/0.6666, allocations: 1.089 MB / 1.208 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005658/0.6722, allocations: 1.903 MB / 1.21 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6723, allocations: 0 / 1.21 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.006652/0.6789, allocations: 2.28 MB / 1.212 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.6789, allocations: 4 kB / 1.212 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.6789, allocations: 0 / 1.212 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005402/0.6795, allocations: 84.84 kB / 1.212 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/0.6817, allocations: 419.3 kB / 1.212 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1153/0.797, allocations: 1.654 MB / 1.214 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/0.8, allocations: 282.7 kB / 1.214 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001852/0.8002, allocations: 55.94 kB / 1.214 GB, free: 7.324 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.0006197/0.8009, allocations: 327.3 kB / 1.215 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.8011, allocations: 114.6 kB / 1.215 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007395/0.8085, allocations: 2.731 MB / 1.217 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.8085, allocations: 15.98 kB / 1.217 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.8085, allocations: 4 kB / 1.217 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.8086, allocations: 3.984 kB / 1.217 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008838/0.8174, allocations: 4.317 MB / 1.222 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.8174, allocations: 0 / 1.222 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002146/0.8196, allocations: 411.4 kB / 1.222 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004086/0.82, allocations: 72.8 kB / 1.222 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.8201, allocations: 47.94 kB / 1.222 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.8217, allocations: 1.677 MB / 1.224 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8217, allocations: 0 / 1.224 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006756/0.8285, allocations: 2.487 MB / 1.226 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005213/0.829, allocations: 427.2 kB / 1.227 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.8292, allocations: 32 kB / 1.227 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001898/0.8311, allocations: 237.3 kB / 1.227 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.8313, allocations: 101.1 kB / 1.227 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.8314, allocations: 71.88 kB / 1.227 GB, free: 10 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005891/0.832, allocations: 0.5537 MB / 1.228 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8321, allocations: 4 kB / 1.228 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009724/0.833, allocations: 499 kB / 1.228 GB, free: 8.961 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.008167/0.8412, allocations: 3.574 MB / 1.232 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007893/0.8491, allocations: 2.891 MB / 1.234 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.8491, allocations: 0 / 1.234 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003366/0.8525, allocations: 1.314 MB / 1.236 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.8538, allocations: 346 kB / 1.236 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02512/0.8789, allocations: 12.41 MB / 1.248 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006105/0.8795, allocations: 1.165 MB / 1.249 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001507/0.881, allocations: 473.2 kB / 1.25 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008565/0.8819, allocations: 0.546 MB / 1.25 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.8819, allocations: 0 / 1.25 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.875/3.756, allocations: 31.34 MB / 1.281 GB, free: 222.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.88/18.63, allocations: 11.12 kB / 1.281 GB, free: 222.3 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)