Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.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.LongwaveHeatTransfer,fileNamePrefix="IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_LongwaveHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer,fileNamePrefix="IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_LongwaveHeatTransfer",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.006034/0.006034, allocations: 99.3 kB / 15.73 MB, free: 6.055 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.001575/0.001576, allocations: 196 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.322/1.322, 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.8321/0.8321, allocations: 135.5 MB / 426.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 68.14 kB / 0.5858 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.142, allocations: 81.04 MB / 0.6649 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer): time 0.003791/0.1459, allocations: 2.458 MB / 0.6673 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1471, allocations: 0.7106 MB / 0.668 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.1473, allocations: 4 kB / 0.668 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.1474, allocations: 47.52 kB / 0.668 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.1477, allocations: 127 kB / 0.6682 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.1481, allocations: 139.7 kB / 0.6683 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006735/0.1488, allocations: 0.5879 MB / 0.6689 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004235/0.1492, allocations: 282.2 kB / 0.6691 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003252/0.1496, allocations: 247.2 kB / 0.6694 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004629/0.15, allocations: 326.9 kB / 0.6697 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.955e-05/0.1501, allocations: 52 kB / 0.6697 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.1503, allocations: 52 kB / 0.6698 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.1504, allocations: 143.5 kB / 0.6699 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002922/0.1507, allocations: 258.8 kB / 0.6702 GB, free: 180 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006921/0.1514, allocations: 0.6461 MB / 0.6708 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1514, allocations: 0 / 0.6708 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1515, allocations: 0 / 0.6708 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.1515, allocations: 0 / 0.6708 GB, free: 15.53 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.00255/0.154, allocations: 0.9466 MB / 0.6717 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1541, allocations: 13.05 kB / 0.6717 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.912e-05/0.1541, allocations: 58.72 kB / 0.6718 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.1543, allocations: 48.66 kB / 0.6718 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006154/0.1549, allocations: 428.1 kB / 0.6722 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/0.1549, allocations: 32.69 kB / 0.6723 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.155, allocations: 28 kB / 0.6723 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005669/0.1556, allocations: 316.2 kB / 0.6726 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1556, allocations: 0 / 0.6726 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.1556, allocations: 8 kB / 0.6726 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.1556, allocations: 15.94 kB / 0.6726 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004645/0.1561, allocations: 221.6 kB / 0.6728 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00318/0.1593, allocations: 1.663 MB / 0.6745 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.1596, allocations: 175.8 kB / 0.6746 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.1599, allocations: 162.5 kB / 0.6748 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.1599, allocations: 0 / 0.6748 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.16, allocations: 42.67 kB / 0.6748 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.16, allocations: 0 / 0.6748 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.001322/0.1613, allocations: 0.5557 MB / 0.6754 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.1614, allocations: 118.8 kB / 0.6755 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000574/0.162, allocations: 469.4 kB / 0.6759 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.162, allocations: 33.7 kB / 0.676 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.1622, allocations: 197.1 kB / 0.6761 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.1623, allocations: 63.47 kB / 0.6762 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.1625, allocations: 102 kB / 0.6763 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1626, allocations: 342.8 kB / 0.6766 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000684/0.1633, allocations: 316.5 kB / 0.6769 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007125/0.164, allocations: 338.5 kB / 0.6773 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009275/0.165, allocations: 448.3 kB / 0.6777 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.165, allocations: 0 / 0.6777 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001702/0.1667, allocations: 0.7738 MB / 0.6784 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1667, allocations: 8 kB / 0.6784 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1667, allocations: 0 / 0.6784 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003081/0.1671, allocations: 69.66 kB / 0.6785 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/0.1676, allocations: 95.86 kB / 0.6786 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002648/0.1703, allocations: 3.031 MB / 0.6816 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007593/0.1711, allocations: 103.7 kB / 0.6817 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.238e-05/0.1711, allocations: 23.92 kB / 0.6817 GB, free: 3.66 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: 2 (zonLwDistLin.computeCarroll,zonLwDist.computeCarroll) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 40 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002295/0.1714, allocations: 193.6 kB / 0.6819 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.895e-05/0.1715, allocations: 35.77 kB / 0.6819 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.94e-05/0.1716, allocations: 39 kB / 0.6819 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1716, allocations: 4 kB / 0.6819 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1716, allocations: 4 kB / 0.6819 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1716, allocations: 0 / 0.6819 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000949/0.1725, allocations: 0.7502 MB / 0.6827 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.1725, allocations: 4 kB / 0.6827 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.1727, allocations: 31.92 kB / 0.6827 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002464/0.173, allocations: 69.66 kB / 0.6828 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.173, allocations: 11.94 kB / 0.6828 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002502/0.1755, allocations: 3.02 MB / 0.6857 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.1755, allocations: 8.016 kB / 0.6857 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000718/0.1762, allocations: 447.5 kB / 0.6862 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1764, allocations: 132.8 kB / 0.6863 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.1764, allocations: 7.984 kB / 0.6863 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.1767, allocations: 19.98 kB / 0.6863 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.1768, allocations: 23.91 kB / 0.6863 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.1768, allocations: 4 kB / 0.6864 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000388/0.1772, allocations: 319.1 kB / 0.6867 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1772, allocations: 0 / 0.6867 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004563/0.1777, allocations: 131.8 kB / 0.6868 GB, free: 13.99 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00106/0.1788, allocations: 0.9954 MB / 0.6878 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001356/0.1801, allocations: 0.6922 MB / 0.6884 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1801, allocations: 3.938 kB / 0.6884 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005156/0.1807, allocations: 345.7 kB / 0.6888 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.1812, allocations: 73.69 kB / 0.6888 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007137/0.1883, allocations: 4.566 MB / 0.6933 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/0.1888, allocations: 0.838 MB / 0.6941 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002197/0.189, allocations: 70.92 kB / 0.6942 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.1893, allocations: 115.4 kB / 0.6943 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of SimCode: time 6.61e-07/0.1893, allocations: 0 / 0.6943 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4391/0.6283, allocations: 9.936 MB / 0.704 GB, free: 12.41 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.56, allocations: 7.891 kB / 0.704 GB, free: 12.4 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.pipe ; mkfifo IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.pipe >> ../files/IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_LongwaveHeatTransfer_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_LongwaveHeatTransfer.fmu > IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.pipe 2>&1)