Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwDistribution",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.00123/0.00123, allocations: 108 kB / 15.61 MB, free: 152 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.001236/0.001236, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.253/1.253, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6762/0.6762, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 68.16 kB / 0.5019 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3002, allocations: 80.2 MB / 0.5802 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution): time 0.002549/0.3028, allocations: 2.189 MB / 0.5824 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.3045, allocations: 1.318 MB / 0.5836 GB, free: 2.152 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.693e-05/0.3046, allocations: 8.156 kB / 0.5836 GB, free: 2.148 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.3048, allocations: 44.34 kB / 0.5837 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.3049, allocations: 89.67 kB / 0.5838 GB, free: 2.062 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/BaseClasses/RadiativeHeatTransfer/ZoneLwDistributionViewFactor.mo:118:5-165:11:writable] Warning: In relation zonLwVieFac.lWall == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/BaseClasses/RadiativeHeatTransfer/ZoneLwDistributionViewFactor.mo:139:11-163:17:writable] Warning: In relation zonLwVieFac.Atot[i] == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/BaseClasses/RadiativeHeatTransfer/ZoneLwDistributionViewFactor.mo:139:11-163:17:writable] Warning: In relation zonLwVieFac.Atot[j] == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.000714/0.3057, allocations: 329.1 kB / 0.5841 GB, free: 1.914 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007779/0.3064, allocations: 1.057 MB / 0.5851 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004671/0.3069, allocations: 489.1 kB / 0.5856 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004717/0.3074, allocations: 0.5028 MB / 0.5861 GB, free: 1.035 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006892/0.3081, allocations: 0.6713 MB / 0.5867 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002048/0.3083, allocations: 127.5 kB / 0.5869 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004366/0.3087, allocations: 283.1 kB / 0.5871 GB, free: 0.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002744/0.309, allocations: 338.8 kB / 0.5874 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005178/0.3096, allocations: 0.5867 MB / 0.588 GB, free: 260 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.311, allocations: 1.636 MB / 0.5896 GB, free: 15.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.311, allocations: 0 / 0.5896 GB, free: 15.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.311, allocations: 2.047 kB / 0.5896 GB, free: 15.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.311, allocations: 0 / 0.5896 GB, free: 15.72 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.004864/0.3159, allocations: 2.321 MB / 0.5919 GB, free: 14.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.3159, allocations: 10.56 kB / 0.5919 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.316, allocations: 92.64 kB / 0.592 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.3172, allocations: 179.4 kB / 0.5922 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009297/0.3181, allocations: 0.7008 MB / 0.5928 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.295e-05/0.3182, allocations: 71.83 kB / 0.5929 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.3183, allocations: 70.19 kB / 0.593 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.3194, allocations: 0.8701 MB / 0.5938 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.3194, allocations: 6.75 kB / 0.5938 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-05/0.3195, allocations: 21.59 kB / 0.5939 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.3195, allocations: 14.12 kB / 0.5939 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.3205, allocations: 0.7215 MB / 0.5946 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005691/0.3262, allocations: 4.768 MB / 0.5992 GB, free: 8.812 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007087/0.3269, allocations: 0.7446 MB / 0.6 GB, free: 8.121 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006239/0.3276, allocations: 0.5754 MB / 0.6005 GB, free: 7.746 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.3276, allocations: 15.36 kB / 0.6005 GB, free: 7.738 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.3277, allocations: 64.72 kB / 0.6006 GB, free: 7.676 MB / 446.1 MB Notification: Performance of pre-optimization done (n=53): time 2.054e-06/0.3277, allocations: 0 / 0.6006 GB, free: 7.676 MB / 446.1 MB Notification: Performance of matching and sorting (n=53): time 0.002592/0.3303, allocations: 1.264 MB / 0.6018 GB, free: 6.992 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000176/0.3305, allocations: 0.5441 MB / 0.6024 GB, free: 6.328 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.3317, allocations: 1.222 MB / 0.6036 GB, free: 5.648 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.3318, allocations: 44.02 kB / 0.6036 GB, free: 5.609 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.3321, allocations: 320.5 kB / 0.6039 GB, free: 5.336 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.3322, allocations: 185.2 kB / 0.6041 GB, free: 5.176 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005339/0.3327, allocations: 352 kB / 0.6044 GB, free: 5.012 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.3328, allocations: 338.5 kB / 0.6047 GB, free: 4.684 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002818/0.3357, allocations: 2.613 MB / 0.6073 GB, free: 3.582 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002791/0.3385, allocations: 2.643 MB / 0.6099 GB, free: 2.324 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003671/0.3421, allocations: 3.648 MB / 0.6134 GB, free: 14.61 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3422, allocations: 0 / 0.6134 GB, free: 14.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006759/0.3489, allocations: 6.061 MB / 0.6193 GB, free: 8.535 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004961/0.3494, allocations: 0.659 MB / 0.62 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3494, allocations: 4 kB / 0.62 GB, free: 7.867 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003937/0.3498, allocations: 104.8 kB / 0.6201 GB, free: 7.762 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008462/0.3507, allocations: 171.8 kB / 0.6203 GB, free: 7.594 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09521/0.4459, allocations: 2.148 MB / 0.6224 GB, free: 5.305 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.4477, allocations: 309.5 kB / 0.6227 GB, free: 5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/0.4479, allocations: 79.86 kB / 0.6227 GB, free: 4.922 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (zonLwVieFac.index2,zonLwVieFac.index1,zonLwDist.computeCarroll) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 1 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0004613/0.4484, allocations: 389.5 kB / 0.6231 GB, free: 4.531 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003942/0.4488, allocations: 94.77 kB / 0.6232 GB, free: 4.438 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.4489, allocations: 84.28 kB / 0.6233 GB, free: 4.348 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.449, allocations: 15.94 kB / 0.6233 GB, free: 4.332 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.449, allocations: 7.984 kB / 0.6233 GB, free: 4.324 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.449, allocations: 8 kB / 0.6233 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003112/0.4521, allocations: 3.392 MB / 0.6266 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.4521, allocations: 16 kB / 0.6266 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.4524, allocations: 92.73 kB / 0.6267 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003486/0.4528, allocations: 116.8 kB / 0.6268 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.4528, allocations: 23.98 kB / 0.6269 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.4546, allocations: 2.149 MB / 0.629 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.4546, allocations: 11.94 kB / 0.629 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.456, allocations: 1.13 MB / 0.6301 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.4562, allocations: 199.7 kB / 0.6303 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.705e-05/0.4563, allocations: 20 kB / 0.6303 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004799/0.4568, allocations: 35.95 kB / 0.6303 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.4569, allocations: 67.7 kB / 0.6304 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.4569, allocations: 24 kB / 0.6304 GB, free: 12.57 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008096/0.4577, allocations: 0.7854 MB / 0.6312 GB, free: 11.77 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4577, allocations: 0 / 0.6312 GB, free: 11.77 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008366/0.4586, allocations: 339.8 kB / 0.6315 GB, free: 11.44 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001767/0.4603, allocations: 1.735 MB / 0.6332 GB, free: 9.578 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01433/0.4747, allocations: 23.24 MB / 0.6559 GB, free: 2.301 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.4747, allocations: 7.938 kB / 0.6559 GB, free: 2.293 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006174/0.4753, allocations: 0.4999 MB / 0.6564 GB, free: 1.781 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000754/0.4761, allocations: 135 kB / 0.6565 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02815/0.5042, allocations: 26.42 MB / 0.6823 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/0.5049, allocations: 1.109 MB / 0.6834 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005397/0.5055, allocations: 232.5 kB / 0.6836 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004159/0.5059, allocations: 295.3 kB / 0.6839 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of SimCode: time 6.22e-07/0.5059, allocations: 0 / 0.6839 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9944/1.5, allocations: 27.18 MB / 0.7104 GB, free: 10.39 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/15.3, allocations: 11.25 kB / 0.7104 GB, free: 10.39 MB / 0.545 GB (rm -f IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.pipe ; mkfifo IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.pipe ; head -c 1048576 < IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.pipe >> ../files/IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwDistribution_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwDistribution.fmu > IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.pipe 2>&1)