Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.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.ZoneLwGainDistribution,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwGainDistribution",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.005576/0.005576, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.001405/0.001405, allocations: 196 kB / 16.68 MB, free: 5.977 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7378/0.7378, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 67.89 kB / 0.5809 GB, free: 8.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3503, allocations: 80.19 MB / 0.6592 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution): time 0.002506/0.3529, allocations: 2.132 MB / 0.6613 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.3541, allocations: 0.9451 MB / 0.6622 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.635e-05/0.3542, allocations: 3.812 kB / 0.6622 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.3544, allocations: 36.11 kB / 0.6622 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.3545, allocations: 64.88 kB / 0.6623 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000497/0.355, allocations: 130.7 kB / 0.6624 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004964/0.3555, allocations: 499.8 kB / 0.6629 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003434/0.3559, allocations: 262.1 kB / 0.6632 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.3562, allocations: 209.4 kB / 0.6634 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/0.3566, allocations: 377.9 kB / 0.6637 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.815e-05/0.3567, allocations: 68.81 kB / 0.6638 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.3568, allocations: 73.31 kB / 0.6639 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.357, allocations: 201.7 kB / 0.664 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.3572, allocations: 273.7 kB / 0.6643 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005344/0.3578, allocations: 0.7776 MB / 0.6651 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.3578, allocations: 0 / 0.6651 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3578, allocations: 0 / 0.6651 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.3578, allocations: 1.312 kB / 0.6651 GB, free: 6.043 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001914/0.3597, allocations: 0.9777 MB / 0.666 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3598, allocations: 9.656 kB / 0.666 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.704e-05/0.3598, allocations: 70.5 kB / 0.6661 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.3619, allocations: 230.4 kB / 0.6663 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.3624, allocations: 379.2 kB / 0.6667 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.3624, allocations: 29.59 kB / 0.6667 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.3625, allocations: 44.69 kB / 0.6667 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007234/0.3633, allocations: 0.5082 MB / 0.6672 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.3633, allocations: 1.5 kB / 0.6672 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.3633, allocations: 20.19 kB / 0.6673 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.3633, allocations: 12.61 kB / 0.6673 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007951/0.3641, allocations: 426.6 kB / 0.6677 GB, free: 4.223 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006124/0.3703, allocations: 3.092 MB / 0.6707 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.3708, allocations: 374.3 kB / 0.6711 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004631/0.3712, allocations: 337.8 kB / 0.6714 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.3713, allocations: 4.188 kB / 0.6714 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.3713, allocations: 52.22 kB / 0.6714 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.124e-06/0.3713, allocations: 0 / 0.6714 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.00147/0.3728, allocations: 0.6323 MB / 0.6721 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.3728, allocations: 296.2 kB / 0.6723 GB, free: 316 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.3732, allocations: 421.9 kB / 0.6727 GB, free: 52 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.125e-05/0.3732, allocations: 34.3 kB / 0.6728 GB, free: 16 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.3734, allocations: 174.5 kB / 0.6729 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.626e-05/0.3735, allocations: 138.8 kB / 0.6731 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.3738, allocations: 135.6 kB / 0.6732 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3739, allocations: 354.4 kB / 0.6735 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.3756, allocations: 0.5948 MB / 0.6741 GB, free: 15 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/0.3773, allocations: 0.6413 MB / 0.6747 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/0.3796, allocations: 0.8597 MB / 0.6756 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3797, allocations: 0 / 0.6756 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003639/0.3833, allocations: 1.326 MB / 0.6769 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3833, allocations: 5.781 kB / 0.6769 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3834, allocations: 4.75 kB / 0.6769 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3834, allocations: 2.906 kB / 0.6769 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.3844, allocations: 159.7 kB / 0.677 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.3844, allocations: 5.609 kB / 0.677 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.3855, allocations: 147.9 kB / 0.6772 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.416e-05/0.3856, allocations: 26.72 kB / 0.6772 GB, free: 13.33 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (60): * Single equations (assignments): 59 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002542/0.3858, allocations: 204.2 kB / 0.6774 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/0.386, allocations: 39.23 kB / 0.6774 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.709e-05/0.3861, allocations: 53.31 kB / 0.6775 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.3861, allocations: 6.406 kB / 0.6775 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.3862, allocations: 2.75 kB / 0.6775 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.3862, allocations: 10.45 kB / 0.6775 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.388, allocations: 1.708 MB / 0.6792 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.388, allocations: 5.625 kB / 0.6792 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.3884, allocations: 83.47 kB / 0.6793 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.3884, allocations: 11.75 kB / 0.6793 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.3885, allocations: 16.5 kB / 0.6793 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.3885, allocations: 11.69 kB / 0.6793 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.3885, allocations: 6.781 kB / 0.6793 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009755/0.3895, allocations: 0.7091 MB / 0.68 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.3896, allocations: 136.9 kB / 0.6801 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/0.3896, allocations: 16.5 kB / 0.6802 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.3899, allocations: 28.03 kB / 0.6802 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.679e-05/0.39, allocations: 44.19 kB / 0.6802 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.3901, allocations: 18.84 kB / 0.6802 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002591/0.3903, allocations: 288 kB / 0.6805 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3903, allocations: 0 / 0.6805 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005076/0.3908, allocations: 119.1 kB / 0.6806 GB, free: 10.58 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00121/0.3921, allocations: 1.27 MB / 0.6819 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002351/0.3944, allocations: 0.9742 MB / 0.6828 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.3944, allocations: 1 kB / 0.6828 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005238/0.395, allocations: 263.2 kB / 0.6831 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.3955, allocations: 73.78 kB / 0.6831 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.4076, allocations: 6.757 MB / 0.6897 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.408, allocations: 0.8417 MB / 0.6906 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004019/0.4084, allocations: 150.3 kB / 0.6907 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/0.4087, allocations: 128.1 kB / 0.6908 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.4087, allocations: 0 / 0.6908 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.4388, allocations: 11.88 MB / 0.7024 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.38, allocations: 22.91 kB / 0.7025 GB, free: 9.027 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.pipe ; mkfifo IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.pipe ; head -c 1048576 < IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.pipe >> ../files/IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 IDEAS_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwGainDistribution.fmu > IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.pipe 2>&1)