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.001566/0.001566, 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.001566/0.001566, allocations: 195.8 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002479/0.002479, allocations: 282.8 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.028/1.028, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002679/0.002679, allocations: 101.5 kB / 0.6065 GB, free: 24.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1464, allocations: 89.15 MB / 0.6936 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces): time 0.002358/0.1488, allocations: 1.23 MB / 0.6948 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007495/0.1496, allocations: 482.9 kB / 0.6953 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.227e-05/0.1496, allocations: 0 / 0.6953 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.1496, allocations: 4.5 kB / 0.6953 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.389e-05/0.1497, allocations: 3.984 kB / 0.6953 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.1498, allocations: 16.58 kB / 0.6953 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.33e-05/0.1499, allocations: 25.2 kB / 0.6953 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.15, allocations: 8 kB / 0.6953 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.15, allocations: 11.92 kB / 0.6953 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.019e-05/0.1501, allocations: 10.98 kB / 0.6953 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.1501, allocations: 0 / 0.6953 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.421e-05/0.1502, allocations: 27.86 kB / 0.6954 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.1502, allocations: 0 / 0.6954 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.424e-05/0.1503, allocations: 11.94 kB / 0.6954 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.008e-05/0.1504, allocations: 32.17 kB / 0.6954 GB, free: 2.406 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1504, allocations: 0 / 0.6954 GB, free: 2.406 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1504, allocations: 0.7812 kB / 0.6954 GB, free: 2.406 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1504, allocations: 0 / 0.6954 GB, free: 2.406 MB / 494.1 MB 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.0003908/0.1508, allocations: 335.4 kB / 0.6957 GB, free: 2.031 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1508, allocations: 12.03 kB / 0.6957 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.1509, allocations: 30.75 kB / 0.6958 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.002e-05/0.1509, allocations: 0.9375 kB / 0.6958 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.151, allocations: 164.3 kB / 0.6959 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.151, allocations: 4.375 kB / 0.6959 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-06/0.151, allocations: 384 / 0.6959 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.66e-05/0.1511, allocations: 41.81 kB / 0.696 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.1511, allocations: 4 kB / 0.696 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.1512, allocations: 0 / 0.696 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.1512, allocations: 0 / 0.696 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.458e-05/0.1512, allocations: 4 kB / 0.696 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.1514, allocations: 153.7 kB / 0.6961 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.889e-05/0.1514, allocations: 22.52 kB / 0.6961 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.199e-05/0.1515, allocations: 8.922 kB / 0.6961 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002323/0.1517, allocations: 97.08 kB / 0.6962 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1517, allocations: 38.5 kB / 0.6963 GB, free: 1.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1517, allocations: 0 / 0.6963 GB, free: 1.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001342/0.1519, allocations: 37.7 kB / 0.6963 GB, free: 1.277 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.1519, allocations: 55.39 kB / 0.6964 GB, free: 1.211 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.071e-05/0.152, allocations: 101.8 kB / 0.6965 GB, free: 1.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.152, allocations: 25.7 kB / 0.6965 GB, free: 1.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.1521, allocations: 84.27 kB / 0.6966 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.1521, allocations: 7.844 kB / 0.6966 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.1521, allocations: 21.7 kB / 0.6966 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1523, allocations: 310.8 kB / 0.6969 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.1523, allocations: 4 kB / 0.6969 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.085e-06/0.1523, allocations: 0 / 0.6969 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.356e-05/0.1524, allocations: 16.86 kB / 0.6969 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.1524, allocations: 0 / 0.6969 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.679e-05/0.1524, allocations: 45.88 kB / 0.697 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.1525, allocations: 4 kB / 0.697 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1525, allocations: 4 kB / 0.697 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.1525, allocations: 3.938 kB / 0.697 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.938e-05/0.1525, allocations: 3.984 kB / 0.697 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.1525, allocations: 7.938 kB / 0.697 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.1526, allocations: 11.84 kB / 0.697 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.1526, allocations: 0 / 0.697 GB, free: 0.5273 MB / 494.1 MB 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 7.972e-05/0.1527, allocations: 113.9 kB / 0.6971 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.1527, allocations: 7.938 kB / 0.6971 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.1528, allocations: 44.81 kB / 0.6971 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1528, allocations: 4 kB / 0.6971 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1528, allocations: 0 / 0.6971 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1528, allocations: 0 / 0.6971 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.153, allocations: 153.7 kB / 0.6973 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.153, allocations: 0 / 0.6973 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.153, allocations: 11.88 kB / 0.6973 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.153, allocations: 0 / 0.6973 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.153, allocations: 8 kB / 0.6973 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.153, allocations: 0 / 0.6973 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.153, allocations: 4 kB / 0.6973 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.138e-05/0.1531, allocations: 73.11 kB / 0.6974 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.1532, allocations: 81.05 kB / 0.6975 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.1532, allocations: 0 / 0.6975 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.753e-05/0.1532, allocations: 0 / 0.6975 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.1533, allocations: 4 kB / 0.6975 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.1533, allocations: 4 kB / 0.6975 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.776e-05/0.1533, allocations: 75.28 kB / 0.6975 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1533, allocations: 0 / 0.6975 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001901/0.1535, allocations: 8 kB / 0.6976 GB, free: 15.85 MB / 0.4981 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.0004268/0.1539, allocations: 0.6201 MB / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.377e-05/0.154, allocations: 19.98 kB / 0.6982 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.154, allocations: 0 / 0.6982 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.756e-05/0.1541, allocations: 7.938 kB / 0.6982 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.1543, allocations: 4.75 kB / 0.6982 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.1546, allocations: 152.9 kB / 0.6983 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.1549, allocations: 0.6729 MB / 0.699 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.71e-05/0.155, allocations: 12.36 kB / 0.699 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.155, allocations: 19.38 kB / 0.699 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.155, allocations: 0 / 0.699 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.177, allocations: 1.317 MB / 0.7003 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.294/7.471, allocations: 7.75 kB / 0.7003 GB, free: 13.05 MB / 0.4981 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)