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.005668/0.005668, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001324/0.001324, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002065, allocations: 287.1 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9269/0.9269, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 92.48 kB / 0.6809 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1363, allocations: 86.97 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces): time 0.002027/0.1384, allocations: 1.237 MB / 0.7671 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007042/0.1391, allocations: 474.8 kB / 0.7675 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.1391, allocations: 0 / 0.7675 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.1392, allocations: 0 / 0.7675 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.919e-05/0.1392, allocations: 19.91 kB / 0.7675 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.1394, allocations: 15.92 kB / 0.7676 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.839e-05/0.1395, allocations: 15.92 kB / 0.7676 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.1395, allocations: 3.984 kB / 0.7676 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.73e-05/0.1396, allocations: 11.94 kB / 0.7676 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.063e-05/0.1396, allocations: 11.94 kB / 0.7676 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.1396, allocations: 0 / 0.7676 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.095e-05/0.1397, allocations: 23.91 kB / 0.7676 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.1398, allocations: 8 kB / 0.7676 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.1398, allocations: 3.938 kB / 0.7676 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.208e-05/0.1399, allocations: 36.12 kB / 0.7677 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1399, allocations: 0 / 0.7677 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1399, allocations: 0 / 0.7677 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.1399, allocations: 0 / 0.7677 GB, free: 7.082 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.0003503/0.1403, allocations: 327.4 kB / 0.768 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1403, allocations: 8.031 kB / 0.768 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.704e-05/0.1403, allocations: 30.75 kB / 0.768 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.254e-05/0.1404, allocations: 4.938 kB / 0.768 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.1405, allocations: 168.4 kB / 0.7682 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.1405, allocations: 4.375 kB / 0.7682 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.1406, allocations: 384 / 0.7682 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.689e-05/0.1406, allocations: 37.77 kB / 0.7682 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.1407, allocations: 0 / 0.7682 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.1407, allocations: 0 / 0.7682 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1407, allocations: 4 kB / 0.7682 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.082e-05/0.1407, allocations: 7.922 kB / 0.7682 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.1409, allocations: 157.7 kB / 0.7684 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.547e-05/0.1409, allocations: 26.61 kB / 0.7684 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.014e-05/0.1409, allocations: 8.859 kB / 0.7684 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/0.1412, allocations: 93.16 kB / 0.7685 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.1412, allocations: 34.5 kB / 0.7685 GB, free: 6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1412, allocations: 0 / 0.7685 GB, free: 6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001306/0.1413, allocations: 49.62 kB / 0.7686 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.1414, allocations: 55.41 kB / 0.7686 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.118e-05/0.1414, allocations: 93.84 kB / 0.7687 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.1415, allocations: 29.7 kB / 0.7688 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.1415, allocations: 84.14 kB / 0.7688 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.1415, allocations: 3.953 kB / 0.7688 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.1415, allocations: 13.72 kB / 0.7689 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.1416, allocations: 311 kB / 0.7692 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.1417, allocations: 11.98 kB / 0.7692 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.909e-06/0.1417, allocations: 4 kB / 0.7692 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.973e-05/0.1417, allocations: 8.859 kB / 0.7692 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1417, allocations: 0 / 0.7692 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.679e-05/0.1418, allocations: 53.53 kB / 0.7692 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1418, allocations: 7.984 kB / 0.7692 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1418, allocations: 0 / 0.7692 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1418, allocations: 0 / 0.7692 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.957e-05/0.1419, allocations: 8.094 kB / 0.7692 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1419, allocations: 0 / 0.7692 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.1419, allocations: 0 / 0.7692 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1419, allocations: 7.938 kB / 0.7693 GB, free: 5.211 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.362e-05/0.142, allocations: 106.5 kB / 0.7694 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.142, allocations: 3.938 kB / 0.7694 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.1421, allocations: 64.91 kB / 0.7694 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1421, allocations: 0 / 0.7694 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1422, allocations: 0 / 0.7694 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1422, allocations: 7.938 kB / 0.7694 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.881e-05/0.1423, allocations: 153.7 kB / 0.7696 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1423, allocations: 4 kB / 0.7696 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.207e-05/0.1423, allocations: 7.938 kB / 0.7696 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1423, allocations: 0 / 0.7696 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.1423, allocations: 0 / 0.7696 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1423, allocations: 0 / 0.7696 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1423, allocations: 0 / 0.7696 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.128e-05/0.1424, allocations: 69.12 kB / 0.7697 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.1425, allocations: 88.94 kB / 0.7697 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.1425, allocations: 4 kB / 0.7697 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.803e-05/0.1425, allocations: 0 / 0.7697 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.1425, allocations: 3.984 kB / 0.7697 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.1425, allocations: 0 / 0.7697 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.097e-05/0.1426, allocations: 83.28 kB / 0.7698 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1426, allocations: 0 / 0.7698 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001928/0.1428, allocations: 11.94 kB / 0.7698 GB, free: 4.516 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.0003288/0.1431, allocations: 0.6202 MB / 0.7704 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.215e-05/0.1432, allocations: 11.94 kB / 0.7705 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.1432, allocations: 0 / 0.7705 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.681e-05/0.1432, allocations: 11.98 kB / 0.7705 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.1434, allocations: 12 kB / 0.7705 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.1438, allocations: 152.8 kB / 0.7706 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.144, allocations: 0.6768 MB / 0.7713 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.525e-05/0.144, allocations: 7.938 kB / 0.7713 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.144, allocations: 7.438 kB / 0.7713 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.144, allocations: 0 / 0.7713 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01536/0.1594, allocations: 1.35 MB / 0.7726 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/7.17, allocations: 12.36 kB / 0.7726 GB, free: 1.711 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)