Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatRadiation_Examples_HeatRadiationParallelSurfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatRadiation_Examples_HeatRadiationParallelSurfaces",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.005093/0.005093, allocations: 99.05 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.001476/0.001476, allocations: 201.4 kB / 16.68 MB, free: 5.977 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002424/0.002424, allocations: 282.4 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9527/0.9527, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002619/0.002619, allocations: 91.84 kB / 0.6809 GB, free: 32 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1501, allocations: 86.98 MB / 0.7659 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces): time 0.002146/0.1522, allocations: 1.234 MB / 0.7671 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007355/0.153, allocations: 478.8 kB / 0.7675 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.153, allocations: 0 / 0.7675 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.1531, allocations: 3.984 kB / 0.7675 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.656e-05/0.1531, allocations: 3.938 kB / 0.7675 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.1533, allocations: 23.91 kB / 0.7676 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.733e-05/0.1534, allocations: 19.86 kB / 0.7676 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.1534, allocations: 0 / 0.7676 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.162e-05/0.1535, allocations: 12 kB / 0.7676 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.418e-05/0.1535, allocations: 15.91 kB / 0.7676 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.1535, allocations: 0 / 0.7676 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.353e-05/0.1537, allocations: 27.86 kB / 0.7676 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.1537, allocations: 0 / 0.7676 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.1537, allocations: 7.938 kB / 0.7676 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.404e-05/0.1538, allocations: 24.2 kB / 0.7677 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1538, allocations: 3.984 kB / 0.7677 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1538, allocations: 4 kB / 0.7677 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.1538, allocations: 0 / 0.7677 GB, free: 7.117 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003859/0.1542, allocations: 327.4 kB / 0.768 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1543, allocations: 12.03 kB / 0.768 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.401e-05/0.1543, allocations: 34.75 kB / 0.768 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.082e-05/0.1543, allocations: 4.938 kB / 0.768 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.1545, allocations: 164.3 kB / 0.7682 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-06/0.1545, allocations: 384 / 0.7682 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.1545, allocations: 384 / 0.7682 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.079e-05/0.1546, allocations: 37.81 kB / 0.7682 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1546, allocations: 3.938 kB / 0.7682 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1546, allocations: 3.984 kB / 0.7682 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1546, allocations: 4 kB / 0.7682 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.041e-05/0.1547, allocations: 4 kB / 0.7682 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.1548, allocations: 157.7 kB / 0.7684 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.273e-05/0.1549, allocations: 26.61 kB / 0.7684 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.804e-05/0.1549, allocations: 8.859 kB / 0.7684 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002146/0.1551, allocations: 97.06 kB / 0.7685 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.1552, allocations: 42.5 kB / 0.7686 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1552, allocations: 0 / 0.7686 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001295/0.1553, allocations: 37.7 kB / 0.7686 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.1554, allocations: 51.41 kB / 0.7686 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.144e-05/0.1554, allocations: 97.84 kB / 0.7687 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1555, allocations: 29.7 kB / 0.7688 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.581e-05/0.1555, allocations: 84.14 kB / 0.7688 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.1555, allocations: 7.891 kB / 0.7689 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.1556, allocations: 17.84 kB / 0.7689 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1557, allocations: 318.8 kB / 0.7692 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.1557, allocations: 0 / 0.7692 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.08e-05/0.1557, allocations: 4 kB / 0.7692 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.906e-05/0.1558, allocations: 8.859 kB / 0.7692 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1558, allocations: 0 / 0.7692 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.048e-05/0.1559, allocations: 53.58 kB / 0.7692 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.1559, allocations: 8.094 kB / 0.7692 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.1559, allocations: 0 / 0.7692 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1559, allocations: 0 / 0.7692 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.681e-05/0.1559, allocations: 11.88 kB / 0.7693 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.156, allocations: 0 / 0.7693 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.156, allocations: 0 / 0.7693 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.156, allocations: 0 / 0.7693 GB, free: 5.242 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.849e-05/0.1561, allocations: 110.5 kB / 0.7694 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.1561, allocations: 11.92 kB / 0.7694 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.1562, allocations: 52.81 kB / 0.7694 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1562, allocations: 0 / 0.7694 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1562, allocations: 0 / 0.7694 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1562, allocations: 0 / 0.7694 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.1563, allocations: 157.6 kB / 0.7696 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1563, allocations: 0 / 0.7696 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.1564, allocations: 7.938 kB / 0.7696 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.1564, allocations: 4 kB / 0.7696 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.1564, allocations: 0 / 0.7696 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1564, allocations: 3.938 kB / 0.7696 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1564, allocations: 0 / 0.7696 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.94e-05/0.1565, allocations: 69.12 kB / 0.7697 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.1566, allocations: 88.98 kB / 0.7697 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.1566, allocations: 4.281 kB / 0.7697 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.717e-05/0.1566, allocations: 0 / 0.7697 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.1566, allocations: 4 kB / 0.7697 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.1566, allocations: 0 / 0.7697 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.016e-05/0.1567, allocations: 83.27 kB / 0.7698 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1567, allocations: 4 kB / 0.7698 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001938/0.1569, allocations: 11.94 kB / 0.7698 GB, free: 4.543 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003926/0.1573, allocations: 0.6201 MB / 0.7705 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.43e-05/0.1573, allocations: 11.98 kB / 0.7705 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1574, allocations: 0 / 0.7705 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.038e-05/0.1574, allocations: 16.06 kB / 0.7705 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.1576, allocations: 3.938 kB / 0.7705 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.1579, allocations: 156.7 kB / 0.7706 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.1582, allocations: 0.6729 MB / 0.7713 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.589e-05/0.1582, allocations: 7.938 kB / 0.7713 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.1583, allocations: 11.42 kB / 0.7713 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.1583, allocations: 0 / 0.7713 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.1792, allocations: 1.324 MB / 0.7726 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/7.618, allocations: 31.33 kB / 0.7726 GB, free: 1.746 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_HAM_HeatRadiation_Examples_HeatRadiationParallelSurfaces.fmu > BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.pipe 2>&1)