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.01097/0.01097, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.002304/0.002304, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.523/1.523, 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.991/0.991, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 59.89 kB / 0.5852 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5187/0.5209, allocations: 80.91 MB / 0.6642 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer): time 0.003403/0.5243, allocations: 2.47 MB / 0.6666 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.5254, allocations: 0.7012 MB / 0.6673 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.5256, allocations: 5.688 kB / 0.6673 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.5257, allocations: 52.27 kB / 0.6673 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.526, allocations: 122.6 kB / 0.6674 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.5264, allocations: 136.6 kB / 0.6676 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006018/0.527, allocations: 0.5823 MB / 0.6681 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004286/0.5274, allocations: 274.7 kB / 0.6684 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000354/0.5278, allocations: 241.3 kB / 0.6686 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003953/0.5282, allocations: 322.9 kB / 0.6689 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.5283, allocations: 51.16 kB / 0.669 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-05/0.5284, allocations: 57 kB / 0.669 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.5286, allocations: 142.3 kB / 0.6692 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.5288, allocations: 252.4 kB / 0.6694 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00055/0.5294, allocations: 0.6491 MB / 0.67 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5294, allocations: 0 / 0.67 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5294, allocations: 0 / 0.67 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.5294, allocations: 0 / 0.67 GB, free: 2.938 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.002391/0.5318, allocations: 0.9305 MB / 0.671 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.5318, allocations: 10.16 kB / 0.671 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.482e-05/0.5319, allocations: 55.36 kB / 0.671 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.532, allocations: 50.53 kB / 0.6711 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/0.5327, allocations: 416 kB / 0.6715 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.5327, allocations: 35.28 kB / 0.6715 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.108e-05/0.5328, allocations: 30.73 kB / 0.6715 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000547/0.5333, allocations: 310.2 kB / 0.6718 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.5334, allocations: 1.156 kB / 0.6718 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.5334, allocations: 10.09 kB / 0.6718 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.5334, allocations: 5.938 kB / 0.6718 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/0.5338, allocations: 228.5 kB / 0.6721 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003023/0.5369, allocations: 1.654 MB / 0.6737 GB, free: 44 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.5373, allocations: 176.7 kB / 0.6738 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.5376, allocations: 173 kB / 0.674 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.5376, allocations: 2.281 kB / 0.674 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.5377, allocations: 36.67 kB / 0.674 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.714e-06/0.5377, allocations: 0 / 0.674 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.001333/0.539, allocations: 0.5497 MB / 0.6746 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.5391, allocations: 118.1 kB / 0.6747 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005686/0.5397, allocations: 468.1 kB / 0.6751 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.5397, allocations: 30.8 kB / 0.6752 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.5399, allocations: 187.5 kB / 0.6753 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/0.5399, allocations: 66.56 kB / 0.6754 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.5401, allocations: 105.2 kB / 0.6755 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.5403, allocations: 339.8 kB / 0.6758 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007158/0.541, allocations: 311.7 kB / 0.6761 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007104/0.5418, allocations: 328.5 kB / 0.6764 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008915/0.5427, allocations: 441.1 kB / 0.6769 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5427, allocations: 0 / 0.6769 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001658/0.5443, allocations: 0.7658 MB / 0.6776 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.5444, allocations: 8.422 kB / 0.6776 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5444, allocations: 5.312 kB / 0.6776 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003605/0.5448, allocations: 65.33 kB / 0.6777 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005511/0.5453, allocations: 97.27 kB / 0.6778 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002615/0.5479, allocations: 3.025 MB / 0.6807 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008127/0.5488, allocations: 107.9 kB / 0.6808 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/0.5488, allocations: 17.17 kB / 0.6809 GB, free: 10.15 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.0002446/0.5491, allocations: 187.8 kB / 0.681 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-05/0.5492, allocations: 32.44 kB / 0.6811 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.057e-05/0.5492, allocations: 39.16 kB / 0.6811 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5493, allocations: 2.219 kB / 0.6811 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5493, allocations: 1.156 kB / 0.6811 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5493, allocations: 9.219 kB / 0.6811 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009581/0.5502, allocations: 0.7485 MB / 0.6818 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.5503, allocations: 2.469 kB / 0.6818 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.5504, allocations: 31.36 kB / 0.6819 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002358/0.5507, allocations: 75.47 kB / 0.6819 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.5507, allocations: 11.31 kB / 0.682 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002181/0.5529, allocations: 3.017 MB / 0.6849 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.5529, allocations: 6.234 kB / 0.6849 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006788/0.5536, allocations: 441 kB / 0.6853 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.5537, allocations: 124.3 kB / 0.6854 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.5538, allocations: 15.64 kB / 0.6855 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.554, allocations: 18.83 kB / 0.6855 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.5541, allocations: 27.69 kB / 0.6855 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.5541, allocations: 5.594 kB / 0.6855 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003715/0.5545, allocations: 318.2 kB / 0.6858 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5545, allocations: 0 / 0.6858 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005299/0.5551, allocations: 118 kB / 0.6859 GB, free: 5.43 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.001021/0.5561, allocations: 0.9895 MB / 0.6869 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001435/0.5575, allocations: 0.6971 MB / 0.6876 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.5575, allocations: 1.531 kB / 0.6876 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005121/0.5581, allocations: 351.5 kB / 0.6879 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.5586, allocations: 85.28 kB / 0.688 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007758/0.5663, allocations: 4.526 MB / 0.6924 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.5668, allocations: 0.836 MB / 0.6932 GB, free: 4 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002871/0.5671, allocations: 70.58 kB / 0.6933 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.5674, allocations: 116.5 kB / 0.6934 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of SimCode: time 8.52e-07/0.5674, allocations: 0 / 0.6934 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04059/0.608, allocations: 9.962 MB / 0.7031 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.02, allocations: 9.016 kB / 0.7031 GB, free: 8.605 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)