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.008853/0.008853, allocations: 103.8 kB / 15.73 MB, free: 6.047 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.001689/0.001689, allocations: 188 kB / 16.67 MB, free: 5.969 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.841/0.841, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 71.7 kB / 0.5851 GB, free: 21.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1954, allocations: 80.92 MB / 0.6642 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution): time 0.004109/0.1996, allocations: 2.182 MB / 0.6663 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002754/0.2024, allocations: 1.321 MB / 0.6676 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002854/0.2027, allocations: 4 kB / 0.6676 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.203, allocations: 43.64 kB / 0.6676 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003494/0.2034, allocations: 95.25 kB / 0.6677 GB, free: 2.652 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.001264/0.2047, allocations: 339.3 kB / 0.6681 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001325/0.206, allocations: 1.052 MB / 0.6691 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006663/0.2067, allocations: 493.1 kB / 0.6696 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009337/0.2076, allocations: 0.5065 MB / 0.67 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.2088, allocations: 0.6857 MB / 0.6707 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000375/0.2092, allocations: 120 kB / 0.6708 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006664/0.2098, allocations: 279.7 kB / 0.6711 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003717/0.2102, allocations: 339 kB / 0.6714 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009327/0.2111, allocations: 0.5833 MB / 0.672 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.213, allocations: 1.659 MB / 0.6736 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.213, allocations: 4 kB / 0.6736 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.364e-06/0.213, allocations: 4 kB / 0.6736 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.116e-05/0.2131, allocations: 0 / 0.6736 GB, free: 12.61 MB / 0.5137 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.006232/0.2193, allocations: 2.324 MB / 0.6759 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.2194, allocations: 9.109 kB / 0.6759 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001777/0.2196, allocations: 94.7 kB / 0.676 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.221, allocations: 175.5 kB / 0.6762 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.2226, allocations: 0.6996 MB / 0.6768 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.2228, allocations: 81.11 kB / 0.6769 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/0.223, allocations: 60 kB / 0.677 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.2245, allocations: 0.8686 MB / 0.6778 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.2245, allocations: 11.94 kB / 0.6778 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/0.2246, allocations: 20 kB / 0.6778 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.2246, allocations: 16 kB / 0.6779 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.2259, allocations: 0.7201 MB / 0.6786 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007225/0.2331, allocations: 4.757 MB / 0.6832 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008846/0.234, allocations: 0.7461 MB / 0.6839 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007316/0.2348, allocations: 0.5744 MB / 0.6845 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.91e-05/0.2349, allocations: 15.89 kB / 0.6845 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.451e-05/0.2349, allocations: 63 kB / 0.6846 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.815e-06/0.2349, allocations: 0 / 0.6846 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.003126/0.2381, allocations: 1.266 MB / 0.6858 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002414/0.2383, allocations: 0.5427 MB / 0.6863 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.2399, allocations: 1.226 MB / 0.6875 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001867/0.2401, allocations: 41.89 kB / 0.6876 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/0.2405, allocations: 317.4 kB / 0.6879 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.2406, allocations: 185.4 kB / 0.6881 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006592/0.2413, allocations: 358.4 kB / 0.6884 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.2414, allocations: 341.9 kB / 0.6887 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003097/0.2445, allocations: 2.611 MB / 0.6913 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003088/0.2477, allocations: 2.649 MB / 0.6939 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00422/0.2519, allocations: 3.64 MB / 0.6974 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.2519, allocations: 0 / 0.6974 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.008085/0.26, allocations: 6.057 MB / 0.7033 GB, free: 13.22 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005772/0.2606, allocations: 0.6613 MB / 0.704 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.2606, allocations: 0 / 0.704 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004642/0.2611, allocations: 108.7 kB / 0.7041 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009317/0.2621, allocations: 171.8 kB / 0.7042 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/0.2646, allocations: 2.149 MB / 0.7063 GB, free: 9.984 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/0.2666, allocations: 305.5 kB / 0.7066 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003234/0.267, allocations: 79.95 kB / 0.7067 GB, free: 9.605 MB / 0.545 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.0006902/0.2677, allocations: 390.9 kB / 0.7071 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005099/0.2682, allocations: 94.77 kB / 0.7072 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.2684, allocations: 96.22 kB / 0.7073 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.2684, allocations: 8 kB / 0.7073 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.2684, allocations: 11.92 kB / 0.7073 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.2685, allocations: 8 kB / 0.7073 GB, free: 8.996 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004181/0.2726, allocations: 3.385 MB / 0.7106 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.2727, allocations: 12 kB / 0.7106 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/0.2731, allocations: 91.83 kB / 0.7107 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004135/0.2735, allocations: 117 kB / 0.7108 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/0.2736, allocations: 20 kB / 0.7108 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.2756, allocations: 2.153 MB / 0.7129 GB, free: 2.891 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.769e-06/0.2756, allocations: 11.94 kB / 0.7129 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.2773, allocations: 1.142 MB / 0.7141 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/0.2776, allocations: 199.7 kB / 0.7143 GB, free: 1.387 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.2778, allocations: 20 kB / 0.7143 GB, free: 1.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005668/0.2783, allocations: 39.95 kB / 0.7143 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.2785, allocations: 67.7 kB / 0.7144 GB, free: 1.262 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/0.2785, allocations: 28 kB / 0.7144 GB, free: 1.234 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001009/0.2795, allocations: 0.7815 MB / 0.7152 GB, free: 452 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2796, allocations: 0 / 0.7152 GB, free: 452 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.001175/0.2807, allocations: 335.9 kB / 0.7155 GB, free: 116 kB / 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.002125/0.2829, allocations: 1.725 MB / 0.7172 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01968/0.3026, allocations: 23.24 MB / 0.7399 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.01e-05/0.3026, allocations: 0 / 0.7399 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.3037, allocations: 0.5016 MB / 0.7404 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.3049, allocations: 135.6 kB / 0.7405 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4406/0.7455, allocations: 26.33 MB / 0.7662 GB, free: 74.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007591/0.7463, allocations: 1.106 MB / 0.7673 GB, free: 73.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005964/0.7469, allocations: 241.3 kB / 0.7675 GB, free: 73.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003991/0.7474, allocations: 287.4 kB / 0.7678 GB, free: 73.35 MB / 0.5762 GB Notification: Performance of SimCode: time 7.21e-07/0.7474, allocations: 0 / 0.7678 GB, free: 73.35 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05384/0.8012, allocations: 28.7 MB / 0.7958 GB, free: 50.01 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.3, allocations: 15.89 kB / 0.7958 GB, free: 49.99 MB / 0.5762 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)