Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.483/1.483, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 193.2 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.4 MB / 0.5775 GB, free: 20.33 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 99.78 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004002, allocations: 13.28 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2108, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.004201/0.215, allocations: 4.061 MB / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1457/0.3608, allocations: 127.5 MB / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008624/0.3617, allocations: 15.94 kB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003912/0.3621, allocations: 83.25 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.3637, allocations: 491.4 kB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.3658, allocations: 0.6814 MB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001721/0.3675, allocations: 0.9833 MB / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008397/0.3684, allocations: 0.5554 MB / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006407/0.369, allocations: 422.3 kB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005718/0.3696, allocations: 441.9 kB / 1.032 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.853e-05/0.3697, allocations: 36 kB / 1.032 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008919/0.3706, allocations: 363.5 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.3709, allocations: 255 kB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.3711, allocations: 233 kB / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.3726, allocations: 1.387 MB / 1.034 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3727, allocations: 4 kB / 1.034 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3727, allocations: 0 / 1.034 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.099e-05/0.3727, allocations: 0 / 1.034 GB, free: 6.094 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.002875/0.3756, allocations: 1.387 MB / 1.036 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.3756, allocations: 12.02 kB / 1.036 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002521/0.3759, allocations: 169.2 kB / 1.036 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009256/0.3852, allocations: 1.555 MB / 1.037 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002118/0.3873, allocations: 0.8754 MB / 1.038 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.465e-05/0.3874, allocations: 90.2 kB / 1.038 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.3876, allocations: 108 kB / 1.038 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005016/0.3927, allocations: 2.034 MB / 1.04 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.3927, allocations: 4 kB / 1.04 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.3929, allocations: 47.95 kB / 1.04 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.3929, allocations: 28 kB / 1.041 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007675/0.4006, allocations: 2.92 MB / 1.043 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009518/0.4101, allocations: 4.125 MB / 1.047 GB, free: 8.477 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008187/0.4184, allocations: 2.821 MB / 1.05 GB, free: 5.641 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006255/0.4191, allocations: 0.61 MB / 1.051 GB, free: 4.902 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003706/0.4228, allocations: 1.357 MB / 1.052 GB, free: 3.531 MB / 0.698 GB Notification: Performance of pre-optimization done (n=120): time 5.641e-06/0.4228, allocations: 96 / 1.052 GB, free: 3.531 MB / 0.698 GB Notification: Performance of matching and sorting (n=120): time 0.4741/0.8969, allocations: 3.544 MB / 1.056 GB, free: 153.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.727e-05/0.8971, allocations: 198.1 kB / 1.056 GB, free: 153 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.8981, allocations: 0.6951 MB / 1.056 GB, free: 152.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003441/0.8985, allocations: 47.08 kB / 1.056 GB, free: 152.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/0.8988, allocations: 452.5 kB / 1.057 GB, free: 152.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003313/0.8991, allocations: 399.2 kB / 1.057 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.948e-05/0.8992, allocations: 24.03 kB / 1.057 GB, free: 152.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.809e-05/0.8993, allocations: 347 kB / 1.058 GB, free: 152.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002866/0.9022, allocations: 1.015 MB / 1.059 GB, free: 152.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003006/0.9052, allocations: 1.15 MB / 1.06 GB, free: 152.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003083/0.9083, allocations: 1.02 MB / 1.061 GB, free: 152.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.9083, allocations: 0 / 1.061 GB, free: 152.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.008045/0.9164, allocations: 2.387 MB / 1.063 GB, free: 152 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.9165, allocations: 5.469 kB / 1.063 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.9165, allocations: 3.172 kB / 1.063 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009214/0.9174, allocations: 84.08 kB / 1.063 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004278/0.9217, allocations: 462.7 kB / 1.064 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002937/0.9247, allocations: 1.553 MB / 1.065 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003873/0.9286, allocations: 325 kB / 1.065 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005056/0.9292, allocations: 55.28 kB / 1.065 GB, free: 150.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001156/0.9304, allocations: 312.1 kB / 1.066 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004815/0.9309, allocations: 103.3 kB / 1.066 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/0.9469, allocations: 2.831 MB / 1.069 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.869e-05/0.947, allocations: 18.94 kB / 1.069 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.947, allocations: 0 / 1.069 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.927e-05/0.9471, allocations: 7.453 kB / 1.069 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01935/0.9664, allocations: 4.351 MB / 1.073 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/0.9665, allocations: 1.484 kB / 1.073 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004219/0.9707, allocations: 468.4 kB / 1.073 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008761/0.9716, allocations: 85.84 kB / 1.073 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002704/0.9719, allocations: 44.11 kB / 1.073 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002431/0.9744, allocations: 1.585 MB / 1.075 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.9744, allocations: 0 / 1.075 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/0.9871, allocations: 2.572 MB / 1.078 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/0.9886, allocations: 420.9 kB / 1.078 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003566/0.989, allocations: 26.09 kB / 1.078 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003392/0.9924, allocations: 284.3 kB / 1.078 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003135/0.9927, allocations: 84.47 kB / 1.078 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002286/0.993, allocations: 58.84 kB / 1.078 GB, free: 147.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001322/0.9943, allocations: 0.5096 MB / 1.079 GB, free: 147.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9943, allocations: 2.188 kB / 1.079 GB, free: 147.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002254/0.9966, allocations: 434.3 kB / 1.079 GB, free: 147.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01452/1.011, allocations: 3.601 MB / 1.083 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01179/1.023, allocations: 2.435 MB / 1.085 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.023, allocations: 0 / 1.085 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00562/1.029, allocations: 1.366 MB / 1.086 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/1.031, allocations: 262.2 kB / 1.087 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03255/1.063, allocations: 9.825 MB / 1.096 GB, free: 134.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/1.064, allocations: 1.148 MB / 1.097 GB, free: 133 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002056/1.066, allocations: 470.1 kB / 1.098 GB, free: 132.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009425/1.067, allocations: 0.4914 MB / 1.098 GB, free: 132 MB / 0.698 GB Notification: Performance of SimCode: time 1.262e-06/1.067, allocations: 0 / 1.098 GB, free: 132 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04467/1.112, allocations: 28.55 MB / 1.126 GB, free: 103.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/1.112, allocations: 278.9 kB / 1.127 GB, free: 103.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.872/3.984, allocations: 0 / 1.127 GB, free: 103.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)