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.008677/0.008678, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.00153/0.00153, allocations: 195.3 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.521/1.521, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9057/0.9057, allocations: 135.1 MB / 425.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 67.88 kB / 0.5852 GB, free: 22.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.225, allocations: 80.92 MB / 0.6642 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution): time 0.004277/0.2294, allocations: 2.193 MB / 0.6663 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002749/0.2321, allocations: 1.318 MB / 0.6676 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002883/0.2324, allocations: 4 kB / 0.6676 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.2327, allocations: 51.56 kB / 0.6677 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.2332, allocations: 91.31 kB / 0.6677 GB, free: 2.738 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.001304/0.2345, allocations: 335.2 kB / 0.6681 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00142/0.2359, allocations: 1.056 MB / 0.6691 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007183/0.2366, allocations: 489.1 kB / 0.6696 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009382/0.2376, allocations: 0.5143 MB / 0.6701 GB, free: 360 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.2388, allocations: 0.6702 MB / 0.6707 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004317/0.2392, allocations: 120 kB / 0.6708 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006994/0.2399, allocations: 283.6 kB / 0.6711 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003488/0.2403, allocations: 343 kB / 0.6714 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007146/0.241, allocations: 0.5833 MB / 0.672 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.2427, allocations: 1.666 MB / 0.6736 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2427, allocations: 0 / 0.6736 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2427, allocations: 4 kB / 0.6736 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.422e-05/0.2427, allocations: 0 / 0.6736 GB, free: 12.69 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.005539/0.2483, allocations: 2.354 MB / 0.6759 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.2483, allocations: 9.109 kB / 0.6759 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/0.2484, allocations: 94.7 kB / 0.676 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.2497, allocations: 176.1 kB / 0.6762 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.251, allocations: 0.7116 MB / 0.6769 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.75e-05/0.2512, allocations: 85.09 kB / 0.677 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.2513, allocations: 60 kB / 0.677 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.2527, allocations: 0.8685 MB / 0.6779 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.2527, allocations: 4 kB / 0.6779 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/0.2528, allocations: 20 kB / 0.6779 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.2528, allocations: 16 kB / 0.6779 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.254, allocations: 0.7201 MB / 0.6786 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0077/0.2617, allocations: 4.762 MB / 0.6833 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.2628, allocations: 0.75 MB / 0.684 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007924/0.2637, allocations: 0.5741 MB / 0.6846 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.2637, allocations: 11.94 kB / 0.6846 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/0.2638, allocations: 63 kB / 0.6846 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.655e-06/0.2638, allocations: 4 kB / 0.6846 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.003245/0.267, allocations: 1.264 MB / 0.6859 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002895/0.2673, allocations: 0.5547 MB / 0.6864 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.269, allocations: 1.222 MB / 0.6876 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002562/0.2693, allocations: 41.7 kB / 0.6876 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.2696, allocations: 313.8 kB / 0.6879 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.2699, allocations: 198.4 kB / 0.6881 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006191/0.2705, allocations: 350.5 kB / 0.6885 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2707, allocations: 345.9 kB / 0.6888 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003295/0.274, allocations: 2.611 MB / 0.6914 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003286/0.2773, allocations: 2.645 MB / 0.6939 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004541/0.2818, allocations: 3.652 MB / 0.6975 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.2818, allocations: 0 / 0.6975 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.008458/0.2903, allocations: 6.069 MB / 0.7034 GB, free: 13.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006363/0.291, allocations: 0.6574 MB / 0.7041 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.291, allocations: 0 / 0.7041 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004652/0.2915, allocations: 112.7 kB / 0.7042 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000958/0.2924, allocations: 167.8 kB / 0.7043 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/0.2951, allocations: 2.145 MB / 0.7064 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/0.2971, allocations: 310.2 kB / 0.7067 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002419/0.2974, allocations: 83.95 kB / 0.7068 GB, free: 9.613 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.0006425/0.2981, allocations: 390.8 kB / 0.7072 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004892/0.2985, allocations: 95.34 kB / 0.7073 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.2987, allocations: 92.2 kB / 0.7074 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.2987, allocations: 12 kB / 0.7074 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.2987, allocations: 4 kB / 0.7074 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.2988, allocations: 8 kB / 0.7074 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003882/0.3026, allocations: 3.397 MB / 0.7107 GB, free: 5.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.3027, allocations: 12 kB / 0.7107 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.3031, allocations: 95.81 kB / 0.7108 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003972/0.3035, allocations: 117.7 kB / 0.7109 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.3035, allocations: 20 kB / 0.7109 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002372/0.3059, allocations: 2.148 MB / 0.713 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/0.3059, allocations: 15.92 kB / 0.713 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.3078, allocations: 1.147 MB / 0.7142 GB, free: 1.598 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/0.3082, allocations: 208.3 kB / 0.7144 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.3084, allocations: 23.98 kB / 0.7144 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006125/0.309, allocations: 31.97 kB / 0.7144 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.3091, allocations: 67.7 kB / 0.7145 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.3092, allocations: 24 kB / 0.7145 GB, free: 1.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001276/0.3105, allocations: 0.7854 MB / 0.7153 GB, free: 444 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3105, allocations: 0 / 0.7153 GB, free: 444 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.001351/0.3118, allocations: 335.8 kB / 0.7156 GB, free: 108 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.002456/0.3143, allocations: 1.742 MB / 0.7173 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02271/0.337, allocations: 23.24 MB / 0.74 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/0.3371, allocations: 0 / 0.74 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.3382, allocations: 0.5019 MB / 0.7405 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.3397, allocations: 134.6 kB / 0.7406 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4779/0.8176, allocations: 26.36 MB / 0.7664 GB, free: 74.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007842/0.8184, allocations: 1.115 MB / 0.7674 GB, free: 73.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006378/0.8191, allocations: 232.8 kB / 0.7677 GB, free: 73.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/0.8195, allocations: 288.2 kB / 0.7679 GB, free: 73.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/0.8195, allocations: 0 / 0.7679 GB, free: 73.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05236/0.8719, allocations: 28.17 MB / 0.7954 GB, free: 50.47 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.83, allocations: 9.344 kB / 0.7955 GB, free: 50.46 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwDistribution.fmu > IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.pipe 2>&1)