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.004891/0.004891, allocations: 104.8 kB / 15.74 MB, free: 6.039 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.001033/0.001033, allocations: 195.2 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.451/1.451, 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 1.017/1.017, allocations: 135.1 MB / 425.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 75.83 kB / 0.5852 GB, free: 3.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.5204, allocations: 80.9 MB / 0.6642 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer): time 0.003194/0.5237, allocations: 2.477 MB / 0.6666 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.5248, allocations: 0.7016 MB / 0.6673 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.5249, allocations: 5.688 kB / 0.6673 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.5251, allocations: 47.58 kB / 0.6673 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.5253, allocations: 128.6 kB / 0.6674 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.5257, allocations: 140.8 kB / 0.6676 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005516/0.5263, allocations: 0.5777 MB / 0.6681 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003704/0.5266, allocations: 271 kB / 0.6684 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002902/0.5269, allocations: 245.9 kB / 0.6686 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003708/0.5273, allocations: 322.5 kB / 0.6689 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.343e-05/0.5274, allocations: 51.5 kB / 0.669 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.586e-05/0.5275, allocations: 52.16 kB / 0.669 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.5277, allocations: 143.7 kB / 0.6692 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.5279, allocations: 248 kB / 0.6694 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005403/0.5285, allocations: 0.6522 MB / 0.67 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5285, allocations: 0 / 0.67 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5285, allocations: 0 / 0.67 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.5285, allocations: 1.312 kB / 0.67 GB, free: 2.949 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.002465/0.531, allocations: 0.9303 MB / 0.671 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.44e-05/0.531, allocations: 9.312 kB / 0.671 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.367e-05/0.5311, allocations: 60.52 kB / 0.671 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.5312, allocations: 42.34 kB / 0.6711 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006956/0.532, allocations: 419.7 kB / 0.6715 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.223e-05/0.532, allocations: 28.22 kB / 0.6715 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/0.5321, allocations: 26.81 kB / 0.6715 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/0.5327, allocations: 321.3 kB / 0.6718 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.5327, allocations: 3.984 kB / 0.6718 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.5327, allocations: 6.781 kB / 0.6718 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.5328, allocations: 5.531 kB / 0.6718 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005048/0.5333, allocations: 225.2 kB / 0.6721 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003261/0.5365, allocations: 1.657 MB / 0.6737 GB, free: 56 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.537, allocations: 185.7 kB / 0.6738 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.5373, allocations: 156.8 kB / 0.674 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.5373, allocations: 10.28 kB / 0.674 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.5373, allocations: 36.67 kB / 0.674 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.5373, allocations: 0 / 0.674 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.00133/0.5387, allocations: 0.5536 MB / 0.6746 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.5388, allocations: 109.6 kB / 0.6747 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/0.5394, allocations: 467.7 kB / 0.6751 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.5394, allocations: 36.05 kB / 0.6752 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.5396, allocations: 190.2 kB / 0.6753 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.208e-05/0.5397, allocations: 69.02 kB / 0.6754 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.5399, allocations: 99.89 kB / 0.6755 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.54, allocations: 340.4 kB / 0.6758 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006702/0.5407, allocations: 311.5 kB / 0.6761 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006748/0.5414, allocations: 328 kB / 0.6764 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008615/0.5422, allocations: 436.9 kB / 0.6769 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5423, allocations: 0 / 0.6769 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001802/0.5441, allocations: 0.7693 MB / 0.6776 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.5441, allocations: 9.203 kB / 0.6776 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.5441, allocations: 0 / 0.6776 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003375/0.5445, allocations: 69.55 kB / 0.6777 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/0.5451, allocations: 93.61 kB / 0.6778 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.5476, allocations: 3.029 MB / 0.6807 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000807/0.5484, allocations: 99.14 kB / 0.6808 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/0.5484, allocations: 18.77 kB / 0.6808 GB, free: 10.17 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.0002646/0.5487, allocations: 200.4 kB / 0.681 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.5488, allocations: 31.25 kB / 0.6811 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.07e-05/0.5489, allocations: 33.66 kB / 0.6811 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.5489, allocations: 7.25 kB / 0.6811 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.5489, allocations: 9.078 kB / 0.6811 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5489, allocations: 1.062 kB / 0.6811 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009648/0.5499, allocations: 0.761 MB / 0.6819 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.5499, allocations: 2.344 kB / 0.6819 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.5501, allocations: 26.92 kB / 0.6819 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000235/0.5503, allocations: 75.59 kB / 0.682 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.5503, allocations: 7.344 kB / 0.682 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/0.5527, allocations: 3.006 MB / 0.6849 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/0.5527, allocations: 6.25 kB / 0.6849 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007206/0.5534, allocations: 452.4 kB / 0.6853 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.5536, allocations: 123.7 kB / 0.6855 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.5536, allocations: 7.984 kB / 0.6855 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.5539, allocations: 19.23 kB / 0.6855 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.801e-05/0.554, allocations: 27.56 kB / 0.6855 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.554, allocations: 6.469 kB / 0.6855 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004215/0.5544, allocations: 325.8 kB / 0.6858 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5544, allocations: 0 / 0.6858 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000544/0.555, allocations: 117.6 kB / 0.6859 GB, free: 5.434 MB / 0.5137 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.00102/0.556, allocations: 0.9887 MB / 0.6869 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001444/0.5575, allocations: 0.694 MB / 0.6876 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5575, allocations: 5.188 kB / 0.6876 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.558, allocations: 351.4 kB / 0.6879 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006432/0.5586, allocations: 80.25 kB / 0.688 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007329/0.566, allocations: 4.525 MB / 0.6924 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.5665, allocations: 0.8356 MB / 0.6932 GB, free: 20 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002803/0.5668, allocations: 70.86 kB / 0.6933 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.567, allocations: 117.2 kB / 0.6934 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of SimCode: time 1.093e-06/0.567, allocations: 0 / 0.6934 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03917/0.6062, allocations: 9.78 MB / 0.703 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.17, allocations: 23.91 kB / 0.703 GB, free: 8.801 MB / 0.5294 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)