Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution,fileNamePrefix="IDEAS_dev_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.006631/0.006631, allocations: 103.6 kB / 15.73 MB, free: 6.039 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.001136/0.001136, allocations: 188.2 kB / 16.67 MB, free: 5.973 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.014/1.014, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.91 kB / 0.5852 GB, free: 3.82 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5445/0.546, allocations: 80.91 MB / 0.6642 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution): time 0.003172/0.5492, allocations: 2.195 MB / 0.6663 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.5514, allocations: 1.322 MB / 0.6676 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.5515, allocations: 5.125 kB / 0.6676 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.5517, allocations: 43.33 kB / 0.6676 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.5519, allocations: 93.84 kB / 0.6677 GB, free: 4.406 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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-master/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-master/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.0009428/0.5529, allocations: 342 kB / 0.6681 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001202/0.5541, allocations: 1.055 MB / 0.6691 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006542/0.5548, allocations: 486 kB / 0.6696 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009133/0.5557, allocations: 0.5134 MB / 0.6701 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.5567, allocations: 0.6796 MB / 0.6707 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002812/0.557, allocations: 119.6 kB / 0.6708 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006879/0.5577, allocations: 278.6 kB / 0.6711 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003912/0.5581, allocations: 339 kB / 0.6714 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000745/0.5589, allocations: 0.5812 MB / 0.672 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.5605, allocations: 1.665 MB / 0.6736 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5605, allocations: 0 / 0.6736 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5606, allocations: 5.344 kB / 0.6736 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.555e-05/0.5606, allocations: 0 / 0.6736 GB, free: 0.7109 MB / 0.4981 GB 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.006275/0.5669, allocations: 2.317 MB / 0.6759 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.597e-05/0.567, allocations: 8.938 kB / 0.6759 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001687/0.5671, allocations: 101.4 kB / 0.676 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.5686, allocations: 174.7 kB / 0.6762 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.5701, allocations: 0.7043 MB / 0.6768 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.5702, allocations: 76.58 kB / 0.6769 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.5704, allocations: 62.09 kB / 0.677 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.5721, allocations: 0.866 MB / 0.6778 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.5722, allocations: 10.19 kB / 0.6778 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.716e-05/0.5722, allocations: 21.72 kB / 0.6779 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.5723, allocations: 13.91 kB / 0.6779 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.5739, allocations: 0.7257 MB / 0.6786 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007851/0.5818, allocations: 4.769 MB / 0.6832 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.5829, allocations: 0.74 MB / 0.684 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008195/0.5837, allocations: 0.5779 MB / 0.6845 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.619e-05/0.5838, allocations: 11.33 kB / 0.6845 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/0.5838, allocations: 68.25 kB / 0.6846 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.916e-06/0.5838, allocations: 1.062 kB / 0.6846 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.003175/0.587, allocations: 1.259 MB / 0.6858 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003136/0.5874, allocations: 0.5445 MB / 0.6864 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.589, allocations: 1.222 MB / 0.6876 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002091/0.5893, allocations: 43.33 kB / 0.6876 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003113/0.5896, allocations: 321.7 kB / 0.6879 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.5898, allocations: 184.8 kB / 0.6881 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006502/0.5904, allocations: 356.1 kB / 0.6884 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5906, allocations: 338.9 kB / 0.6887 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003477/0.594, allocations: 2.617 MB / 0.6913 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003391/0.5974, allocations: 2.644 MB / 0.6939 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004527/0.602, allocations: 3.648 MB / 0.6974 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.602, allocations: 0 / 0.6974 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.008439/0.6105, allocations: 6.057 MB / 0.7034 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006933/0.6112, allocations: 0.6574 MB / 0.704 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.6112, allocations: 0 / 0.704 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004499/0.6117, allocations: 112.7 kB / 0.7041 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009547/0.6126, allocations: 175.8 kB / 0.7043 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/0.6151, allocations: 2.133 MB / 0.7064 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.6172, allocations: 313.5 kB / 0.7067 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/0.6175, allocations: 79.89 kB / 0.7067 GB, free: 4.891 MB / 0.5294 GB 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.0006571/0.6181, allocations: 390.9 kB / 0.7071 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000425/0.6186, allocations: 90.77 kB / 0.7072 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.6187, allocations: 96.22 kB / 0.7073 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.6188, allocations: 12 kB / 0.7073 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.6188, allocations: 4 kB / 0.7073 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.6188, allocations: 7.984 kB / 0.7073 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004233/0.623, allocations: 3.393 MB / 0.7106 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.6231, allocations: 8 kB / 0.7106 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.6234, allocations: 91.83 kB / 0.7107 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000411/0.6239, allocations: 113.3 kB / 0.7108 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.761e-05/0.6239, allocations: 20 kB / 0.7108 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002558/0.6265, allocations: 2.148 MB / 0.7129 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/0.6265, allocations: 19.94 kB / 0.713 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.6281, allocations: 1.132 MB / 0.7141 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003552/0.6285, allocations: 199.7 kB / 0.7143 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.593e-05/0.6286, allocations: 24 kB / 0.7143 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004897/0.6291, allocations: 35.95 kB / 0.7143 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.6292, allocations: 67.7 kB / 0.7144 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.422e-05/0.6293, allocations: 28 kB / 0.7144 GB, free: 12.53 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001198/0.6305, allocations: 0.7815 MB / 0.7152 GB, free: 11.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6305, allocations: 3.938 kB / 0.7152 GB, free: 11.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001651/0.6322, allocations: 344 kB / 0.7155 GB, free: 11.39 MB / 0.545 GB 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.002099/0.6343, allocations: 1.728 MB / 0.7172 GB, free: 9.535 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02148/0.6558, allocations: 23.24 MB / 0.7399 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.192e-05/0.6558, allocations: 0 / 0.7399 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.657, allocations: 0.4999 MB / 0.7404 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/0.6588, allocations: 136.2 kB / 0.7405 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03788/0.6967, allocations: 26.35 MB / 0.7662 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009273/0.6977, allocations: 1.113 MB / 0.7673 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000706/0.6984, allocations: 236.5 kB / 0.7675 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005218/0.6989, allocations: 287.3 kB / 0.7678 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of SimCode: time 1.152e-06/0.699, allocations: 0 / 0.7678 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06364/0.7626, allocations: 28.18 MB / 0.7953 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.56, allocations: 12.84 kB / 0.7953 GB, free: 9.449 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.pipe ; mkfifo IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.pipe >> ../files/IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwDistribution_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwDistribution.fmu > IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.pipe 2>&1)