Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.LongwaveHeatTransfer,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_LongwaveHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer,fileNamePrefix="IDEAS_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.006541/0.006541, allocations: 99.41 kB / 15.73 MB, free: 6.02 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.001196/0.001197, allocations: 190.9 kB / 16.67 MB, free: 5.938 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.231/1.231, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7342/0.7342, allocations: 132.2 MB / 422.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 61.78 kB / 0.5809 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1236, allocations: 80.2 MB / 0.6592 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer): time 0.00322/0.1268, allocations: 2.462 MB / 0.6616 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.128, allocations: 0.7052 MB / 0.6623 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.1282, allocations: 4 kB / 0.6623 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.1284, allocations: 51.52 kB / 0.6623 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.1286, allocations: 123 kB / 0.6625 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.129, allocations: 139.8 kB / 0.6626 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000593/0.1296, allocations: 0.5879 MB / 0.6632 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003741/0.13, allocations: 278 kB / 0.6634 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000377/0.1304, allocations: 247.2 kB / 0.6637 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000484/0.1309, allocations: 322.9 kB / 0.664 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.131, allocations: 52 kB / 0.664 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.1312, allocations: 56 kB / 0.6641 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.1314, allocations: 139.6 kB / 0.6642 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003438/0.1317, allocations: 246.9 kB / 0.6645 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006639/0.1324, allocations: 0.6503 MB / 0.6651 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1324, allocations: 0 / 0.6651 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1324, allocations: 0 / 0.6651 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.762e-05/0.1324, allocations: 0 / 0.6651 GB, free: 4.809 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.002507/0.1349, allocations: 0.9411 MB / 0.666 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.135, allocations: 12.02 kB / 0.666 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.39e-05/0.135, allocations: 58.73 kB / 0.6661 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.1352, allocations: 52.59 kB / 0.6661 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006128/0.1358, allocations: 424.2 kB / 0.6665 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.1358, allocations: 28.69 kB / 0.6666 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.738e-05/0.1359, allocations: 28 kB / 0.6666 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005133/0.1364, allocations: 316.2 kB / 0.6669 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1364, allocations: 4 kB / 0.6669 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.1365, allocations: 8 kB / 0.6669 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1365, allocations: 8 kB / 0.6669 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004255/0.1369, allocations: 229.5 kB / 0.6671 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003059/0.14, allocations: 1.664 MB / 0.6687 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.1403, allocations: 175.8 kB / 0.6689 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/0.1406, allocations: 166.5 kB / 0.6691 GB, free: 452 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.1406, allocations: 12.11 kB / 0.6691 GB, free: 440 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1406, allocations: 34.56 kB / 0.6691 GB, free: 396 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.1406, allocations: 0 / 0.6691 GB, free: 396 kB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.001218/0.1418, allocations: 0.5634 MB / 0.6697 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.1419, allocations: 110.8 kB / 0.6698 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005011/0.1424, allocations: 473.4 kB / 0.6702 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/0.1425, allocations: 29.7 kB / 0.6703 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.1426, allocations: 192.7 kB / 0.6704 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.384e-05/0.1427, allocations: 71.41 kB / 0.6705 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.1428, allocations: 102.1 kB / 0.6706 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.143, allocations: 342.8 kB / 0.6709 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006309/0.1436, allocations: 312.7 kB / 0.6712 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006205/0.1442, allocations: 335.7 kB / 0.6716 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008222/0.1451, allocations: 444.6 kB / 0.672 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1451, allocations: 0 / 0.672 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00153/0.1466, allocations: 0.7746 MB / 0.6727 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1466, allocations: 4 kB / 0.6727 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.1466, allocations: 4 kB / 0.6727 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002893/0.1469, allocations: 65.67 kB / 0.6728 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/0.1475, allocations: 99.86 kB / 0.6729 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.1496, allocations: 3.025 MB / 0.6758 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007408/0.1504, allocations: 103.8 kB / 0.6759 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/0.1505, allocations: 19.98 kB / 0.676 GB, free: 8.969 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 (45): * Single equations (assignments): 41 * 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.0002019/0.1507, allocations: 190.5 kB / 0.6761 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.687e-05/0.1508, allocations: 31.81 kB / 0.6762 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.756e-05/0.1508, allocations: 34.89 kB / 0.6762 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.1508, allocations: 4 kB / 0.6762 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1508, allocations: 0 / 0.6762 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1509, allocations: 4 kB / 0.6762 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008667/0.1517, allocations: 0.7744 MB / 0.677 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1517, allocations: 0 / 0.677 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.1519, allocations: 40.28 kB / 0.677 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002248/0.1521, allocations: 77.59 kB / 0.6771 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.1522, allocations: 4 kB / 0.6771 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/0.1542, allocations: 3.024 MB / 0.68 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1542, allocations: 7.969 kB / 0.6801 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006749/0.1549, allocations: 456.5 kB / 0.6805 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.155, allocations: 132.7 kB / 0.6806 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.1551, allocations: 11.98 kB / 0.6806 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.1554, allocations: 19.98 kB / 0.6806 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/0.1554, allocations: 19.91 kB / 0.6807 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.1554, allocations: 8 kB / 0.6807 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003407/0.1558, allocations: 319.1 kB / 0.681 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1558, allocations: 7.938 kB / 0.681 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004586/0.1563, allocations: 119.9 kB / 0.6811 GB, free: 3.262 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 15 * 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.0009092/0.1572, allocations: 1.001 MB / 0.6821 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001277/0.1585, allocations: 0.7065 MB / 0.6828 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1585, allocations: 0 / 0.6828 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004607/0.159, allocations: 357.7 kB / 0.6831 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.1595, allocations: 73.64 kB / 0.6832 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006356/0.1658, allocations: 4.546 MB / 0.6876 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.1662, allocations: 0.8382 MB / 0.6884 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002212/0.1664, allocations: 70.91 kB / 0.6885 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.1666, allocations: 123.4 kB / 0.6886 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.1666, allocations: 0 / 0.6886 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03335/0.2, allocations: 9.795 MB / 0.6982 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.64, allocations: 12.08 kB / 0.6982 GB, free: 1.781 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.pipe ; mkfifo IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.pipe ; head -c 1048576 < IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.pipe >> ../files/IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 IDEAS_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_LongwaveHeatTransfer.fmu > IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.pipe 2>&1)