Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.ZoneLwGainDistribution,fileNamePrefix="IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution,fileNamePrefix="IDEAS_dev_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.007837/0.007837, allocations: 99.27 kB / 15.73 MB, free: 6.035 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.001455/0.001455, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.966/0.966, allocations: 135.1 MB / 425.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 71.89 kB / 0.5852 GB, free: 3.844 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.64/0.6416, allocations: 80.91 MB / 0.6642 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution): time 0.003287/0.6449, allocations: 2.129 MB / 0.6663 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.6466, allocations: 0.948 MB / 0.6672 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.6467, allocations: 3.844 kB / 0.6672 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.6469, allocations: 30.16 kB / 0.6672 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.6471, allocations: 62.77 kB / 0.6673 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005436/0.6476, allocations: 131 kB / 0.6674 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005173/0.6482, allocations: 495.7 kB / 0.6679 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003911/0.6486, allocations: 263 kB / 0.6681 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.6489, allocations: 209.5 kB / 0.6683 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00042/0.6493, allocations: 374 kB / 0.6687 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.6494, allocations: 67.81 kB / 0.6687 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.6496, allocations: 74.03 kB / 0.6688 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.6498, allocations: 205.4 kB / 0.669 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002707/0.6501, allocations: 274.4 kB / 0.6693 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000735/0.6508, allocations: 0.783 MB / 0.67 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6508, allocations: 0 / 0.67 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6509, allocations: 0 / 0.67 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.6509, allocations: 3.938 kB / 0.67 GB, free: 2.961 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.002433/0.6533, allocations: 0.974 MB / 0.671 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.6534, allocations: 10.44 kB / 0.671 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.39e-05/0.6535, allocations: 70.47 kB / 0.6711 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002231/0.6557, allocations: 226.4 kB / 0.6713 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006216/0.6563, allocations: 383.9 kB / 0.6716 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.6564, allocations: 32.69 kB / 0.6717 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.6565, allocations: 40.62 kB / 0.6717 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009167/0.6574, allocations: 0.5081 MB / 0.6722 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.6574, allocations: 5.406 kB / 0.6722 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.6575, allocations: 16.03 kB / 0.6722 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.6575, allocations: 9.5 kB / 0.6722 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008976/0.6584, allocations: 421.6 kB / 0.6726 GB, free: 1.148 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.007306/0.6657, allocations: 3.097 MB / 0.6757 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007036/0.6665, allocations: 373.9 kB / 0.676 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006452/0.6671, allocations: 336.9 kB / 0.6763 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.6672, allocations: 5.75 kB / 0.6764 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.6672, allocations: 54.92 kB / 0.6764 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=38): time 3.306e-06/0.6672, allocations: 0 / 0.6764 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=38): time 0.001967/0.6692, allocations: 0.6245 MB / 0.677 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000187/0.6694, allocations: 297.1 kB / 0.6773 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006568/0.6701, allocations: 417.8 kB / 0.6777 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.6702, allocations: 42.64 kB / 0.6777 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.6704, allocations: 174.9 kB / 0.6779 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.6706, allocations: 133.3 kB / 0.678 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003251/0.6709, allocations: 136.2 kB / 0.6782 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.6711, allocations: 353.7 kB / 0.6785 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002014/0.6731, allocations: 0.5986 MB / 0.6791 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00211/0.6752, allocations: 0.6425 MB / 0.6797 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002509/0.6778, allocations: 0.8545 MB / 0.6805 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.6778, allocations: 0 / 0.6805 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004091/0.6819, allocations: 1.331 MB / 0.6818 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.6819, allocations: 5.094 kB / 0.6819 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.6819, allocations: 0 / 0.6819 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.682, allocations: 2.781 kB / 0.6819 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.683, allocations: 164.5 kB / 0.682 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.6831, allocations: 1.656 kB / 0.682 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.6842, allocations: 144.2 kB / 0.6821 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.383e-05/0.6843, allocations: 27.48 kB / 0.6822 GB, free: 10.26 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.0003241/0.6846, allocations: 198.6 kB / 0.6824 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002444/0.6849, allocations: 47.64 kB / 0.6824 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.685, allocations: 54.06 kB / 0.6825 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.685, allocations: 5.719 kB / 0.6825 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/0.685, allocations: 7.188 kB / 0.6825 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.148e-06/0.6851, allocations: 6.219 kB / 0.6825 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.6872, allocations: 1.708 MB / 0.6841 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.6872, allocations: 5.969 kB / 0.6842 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004106/0.6876, allocations: 87.12 kB / 0.6842 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/0.6876, allocations: 14.91 kB / 0.6843 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.6877, allocations: 16.81 kB / 0.6843 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.341e-05/0.6877, allocations: 12.17 kB / 0.6843 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.6877, allocations: 9.906 kB / 0.6843 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.6888, allocations: 0.7052 MB / 0.685 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.689, allocations: 132.9 kB / 0.6851 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.689, allocations: 13.12 kB / 0.6851 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.6893, allocations: 31.56 kB / 0.6851 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.6894, allocations: 49.23 kB / 0.6852 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.6895, allocations: 17.12 kB / 0.6852 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003322/0.6898, allocations: 284.3 kB / 0.6855 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6898, allocations: 0.9375 kB / 0.6855 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007386/0.6906, allocations: 123.5 kB / 0.6856 GB, free: 7.508 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.001513/0.6921, allocations: 1.267 MB / 0.6868 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002634/0.6947, allocations: 0.9737 MB / 0.6878 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.6947, allocations: 1.062 kB / 0.6878 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005842/0.6953, allocations: 264.6 kB / 0.688 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006503/0.696, allocations: 71.86 kB / 0.6881 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/0.7101, allocations: 6.748 MB / 0.6947 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/0.7107, allocations: 0.8423 MB / 0.6955 GB, free: 344 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004903/0.7112, allocations: 142.8 kB / 0.6957 GB, free: 200 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003503/0.7116, allocations: 131.3 kB / 0.6958 GB, free: 68 kB / 0.5137 GB Notification: Performance of SimCode: time 8.02e-07/0.7116, allocations: 0 / 0.6958 GB, free: 68 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03522/0.7468, allocations: 11.9 MB / 0.7074 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.632/9.379, allocations: 15.39 kB / 0.7074 GB, free: 4.402 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.pipe ; mkfifo IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.pipe >> ../files/IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwGainDistribution.fmu > IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.pipe 2>&1)