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.00184/0.00184, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002443/0.002443, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.802/1.802, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.314/1.314, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001555, allocations: 60.67 kB / 0.5055 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2117, allocations: 80.92 MB / 0.5845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer): time 0.004181/0.2159, allocations: 2.465 MB / 0.5869 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2172, allocations: 0.6935 MB / 0.5876 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.2174, allocations: 8 kB / 0.5876 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.2176, allocations: 47.52 kB / 0.5876 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.2178, allocations: 123 kB / 0.5877 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.2183, allocations: 131.8 kB / 0.5879 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006303/0.2189, allocations: 0.5841 MB / 0.5884 GB, free: 416 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/0.2193, allocations: 274 kB / 0.5887 GB, free: 140 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003433/0.2197, allocations: 247.2 kB / 0.5889 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004141/0.2201, allocations: 322.9 kB / 0.5892 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.841e-05/0.2202, allocations: 48 kB / 0.5893 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.2203, allocations: 52 kB / 0.5893 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.2205, allocations: 139.6 kB / 0.5895 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002828/0.2208, allocations: 254.9 kB / 0.5897 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005967/0.2214, allocations: 0.639 MB / 0.5903 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2214, allocations: 0 / 0.5903 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2214, allocations: 3.938 kB / 0.5903 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.2214, allocations: 0 / 0.5903 GB, free: 14.45 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.002622/0.2241, allocations: 0.9274 MB / 0.5913 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.2241, allocations: 8.031 kB / 0.5913 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.054e-05/0.2242, allocations: 62.67 kB / 0.5913 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.2243, allocations: 52.36 kB / 0.5914 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005742/0.2249, allocations: 412 kB / 0.5918 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/0.2249, allocations: 24.94 kB / 0.5918 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.247e-05/0.225, allocations: 35.94 kB / 0.5918 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005725/0.2256, allocations: 316.2 kB / 0.5921 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2256, allocations: 0 / 0.5921 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.2256, allocations: 12 kB / 0.5921 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.2256, allocations: 4 kB / 0.5921 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/0.2261, allocations: 217.6 kB / 0.5923 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003332/0.2294, allocations: 1.671 MB / 0.594 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.2298, allocations: 183.8 kB / 0.5942 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.2301, allocations: 158.5 kB / 0.5943 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.2301, allocations: 0 / 0.5943 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.2302, allocations: 38.75 kB / 0.5943 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.412e-06/0.2302, allocations: 7.875 kB / 0.5943 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.001711/0.2319, allocations: 0.5593 MB / 0.5949 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.232, allocations: 110.8 kB / 0.595 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007096/0.2327, allocations: 469.4 kB / 0.5954 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.2328, allocations: 29.7 kB / 0.5955 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.2329, allocations: 188.5 kB / 0.5957 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.287e-05/0.233, allocations: 63.09 kB / 0.5957 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.2332, allocations: 94.05 kB / 0.5958 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.2333, allocations: 350.8 kB / 0.5961 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006795/0.234, allocations: 308.6 kB / 0.5964 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006524/0.2347, allocations: 326.7 kB / 0.5967 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009497/0.2357, allocations: 444.5 kB / 0.5972 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.2357, allocations: 0 / 0.5972 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00166/0.2373, allocations: 0.7697 MB / 0.5979 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.2374, allocations: 4 kB / 0.5979 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.2374, allocations: 4 kB / 0.5979 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003628/0.2378, allocations: 73.97 kB / 0.598 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005754/0.2383, allocations: 95.86 kB / 0.5981 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002983/0.2413, allocations: 3.016 MB / 0.601 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008535/0.2422, allocations: 103.7 kB / 0.6011 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/0.2423, allocations: 12 kB / 0.6011 GB, free: 2.688 MB / 0.4981 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.0002615/0.2425, allocations: 199 kB / 0.6013 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.2426, allocations: 39.52 kB / 0.6014 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.2427, allocations: 30.95 kB / 0.6014 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2427, allocations: 7.984 kB / 0.6014 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2427, allocations: 0 / 0.6014 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.2427, allocations: 4 kB / 0.6014 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.2437, allocations: 0.7464 MB / 0.6021 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.2438, allocations: 4 kB / 0.6021 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.2439, allocations: 39.89 kB / 0.6022 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002448/0.2442, allocations: 73.91 kB / 0.6023 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.2442, allocations: 15.88 kB / 0.6023 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4485/0.6927, allocations: 3.001 MB / 0.6052 GB, free: 49.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/0.6928, allocations: 4.531 kB / 0.6052 GB, free: 49.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00086/0.6936, allocations: 452 kB / 0.6056 GB, free: 49.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.6939, allocations: 122.5 kB / 0.6058 GB, free: 49.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.561e-05/0.694, allocations: 8.062 kB / 0.6058 GB, free: 49.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.6943, allocations: 18.08 kB / 0.6058 GB, free: 49.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.6944, allocations: 29.47 kB / 0.6058 GB, free: 49.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.6944, allocations: 5.469 kB / 0.6058 GB, free: 49.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004747/0.6949, allocations: 322.5 kB / 0.6061 GB, free: 49.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6949, allocations: 0 / 0.6061 GB, free: 49.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008878/0.6958, allocations: 116.9 kB / 0.6062 GB, free: 49.14 MB / 0.4981 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.00131/0.6971, allocations: 0.9877 MB / 0.6072 GB, free: 48.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.6989, allocations: 0.7076 MB / 0.6079 GB, free: 48.19 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.6989, allocations: 0 / 0.6079 GB, free: 48.19 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004625/0.6994, allocations: 354.2 kB / 0.6082 GB, free: 47.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.7, allocations: 83.31 kB / 0.6083 GB, free: 47.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00734/0.7073, allocations: 4.558 MB / 0.6128 GB, free: 46.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005237/0.7079, allocations: 0.8341 MB / 0.6136 GB, free: 45.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003206/0.7082, allocations: 65.2 kB / 0.6136 GB, free: 45.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.7085, allocations: 120.4 kB / 0.6137 GB, free: 45.32 MB / 0.4981 GB Notification: Performance of SimCode: time 1.663e-06/0.7085, allocations: 4 kB / 0.6137 GB, free: 45.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04826/0.7567, allocations: 9.646 MB / 0.6232 GB, free: 44.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.22/15.97, allocations: 6.875 kB / 0.6232 GB, free: 44.62 MB / 0.4981 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_LongwaveHeatTransfer.fmu > IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.pipe 2>&1)