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.008124/0.008124, allocations: 96.7 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.002198/0.002198, allocations: 194.9 kB / 16.67 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00251/0.00251, allocations: 286.9 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.084/1.084, allocations: 178.6 MB / 0.5074 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004313/0.004313, allocations: 94.86 kB / 0.6943 GB, free: 3.652 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4987/0.503, allocations: 89.13 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces): time 0.002954/0.506, allocations: 1.248 MB / 0.7825 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008509/0.5069, allocations: 479.6 kB / 0.783 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.579e-05/0.5069, allocations: 1.156 kB / 0.783 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.507, allocations: 0.5625 kB / 0.783 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.463e-05/0.5071, allocations: 6.266 kB / 0.783 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.5073, allocations: 18.48 kB / 0.783 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.607e-05/0.5073, allocations: 20.92 kB / 0.783 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.5074, allocations: 0.5625 kB / 0.783 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.472e-05/0.5075, allocations: 13.58 kB / 0.783 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.822e-05/0.5075, allocations: 10.12 kB / 0.783 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.5076, allocations: 0 / 0.783 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.5077, allocations: 31.05 kB / 0.7831 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.5077, allocations: 2.297 kB / 0.7831 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.5077, allocations: 3.328 kB / 0.7831 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.845e-05/0.5078, allocations: 25.39 kB / 0.7831 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.5078, allocations: 0 / 0.7831 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5078, allocations: 0 / 0.7831 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.5078, allocations: 1.906 kB / 0.7831 GB, free: 12.59 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.0003884/0.5082, allocations: 329.8 kB / 0.7834 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.5083, allocations: 12.31 kB / 0.7834 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.5083, allocations: 30.75 kB / 0.7835 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.964e-05/0.5084, allocations: 3.547 kB / 0.7835 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.5085, allocations: 166.6 kB / 0.7836 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.5085, allocations: 1.172 kB / 0.7836 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-06/0.5085, allocations: 1.656 kB / 0.7836 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.5086, allocations: 38.94 kB / 0.7837 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.5087, allocations: 0 / 0.7837 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.5087, allocations: 3 kB / 0.7837 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.5087, allocations: 0 / 0.7837 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.346e-05/0.5087, allocations: 12.88 kB / 0.7837 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.5089, allocations: 149.7 kB / 0.7838 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.201e-05/0.509, allocations: 21.97 kB / 0.7838 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/0.509, allocations: 11.58 kB / 0.7838 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002501/0.5093, allocations: 96.45 kB / 0.7839 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.5093, allocations: 43.05 kB / 0.784 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.5093, allocations: 0 / 0.784 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001478/0.5095, allocations: 47.41 kB / 0.784 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.5095, allocations: 51.41 kB / 0.7841 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.137e-05/0.5096, allocations: 95.17 kB / 0.7842 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.5096, allocations: 27.56 kB / 0.7842 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.5097, allocations: 80.14 kB / 0.7843 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.5097, allocations: 13.91 kB / 0.7843 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.5098, allocations: 17.19 kB / 0.7843 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.5099, allocations: 313.1 kB / 0.7846 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.5099, allocations: 2.922 kB / 0.7846 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.33e-05/0.5099, allocations: 6.828 kB / 0.7846 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.605e-05/0.51, allocations: 14.81 kB / 0.7846 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.51, allocations: 0 / 0.7846 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.291e-05/0.5101, allocations: 53.33 kB / 0.7847 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.5101, allocations: 9.656 kB / 0.7847 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5101, allocations: 0.5625 kB / 0.7847 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5101, allocations: 0 / 0.7847 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.088e-05/0.5102, allocations: 5.312 kB / 0.7847 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.5102, allocations: 0 / 0.7847 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.823e-05/0.5102, allocations: 1.469 kB / 0.7847 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.5102, allocations: 0.6094 kB / 0.7847 GB, free: 10.85 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 8.353e-05/0.5103, allocations: 108 kB / 0.7848 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.5103, allocations: 5.469 kB / 0.7848 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.5106, allocations: 65.8 kB / 0.7849 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5106, allocations: 0 / 0.7849 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5106, allocations: 2.422 kB / 0.7849 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.5106, allocations: 0 / 0.7849 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.5107, allocations: 150.2 kB / 0.785 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.5107, allocations: 0 / 0.785 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.5108, allocations: 8.375 kB / 0.785 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.5108, allocations: 0 / 0.785 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.5108, allocations: 5.828 kB / 0.785 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5108, allocations: 0 / 0.785 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5108, allocations: 1.375 kB / 0.785 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.5109, allocations: 73.67 kB / 0.7851 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.511, allocations: 93.44 kB / 0.7852 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.511, allocations: 2.141 kB / 0.7852 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.722e-05/0.511, allocations: 0 / 0.7852 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.511, allocations: 2.891 kB / 0.7852 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.511, allocations: 1.062 kB / 0.7852 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.609e-05/0.5111, allocations: 82.17 kB / 0.7853 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5111, allocations: 4 kB / 0.7853 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002171/0.5113, allocations: 12.95 kB / 0.7853 GB, free: 10.22 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.0004644/0.5118, allocations: 0.6062 MB / 0.7859 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.588e-05/0.5119, allocations: 16.7 kB / 0.7859 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5119, allocations: 1.281 kB / 0.7859 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.609e-05/0.5119, allocations: 10.86 kB / 0.7859 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.5122, allocations: 9.031 kB / 0.7859 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.5126, allocations: 144.1 kB / 0.786 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.5129, allocations: 0.6756 MB / 0.7867 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.763e-05/0.5129, allocations: 3.469 kB / 0.7867 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.5129, allocations: 9.172 kB / 0.7867 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of SimCode: time 3.6e-07/0.5129, allocations: 4 kB / 0.7867 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.5373, allocations: 1.343 MB / 0.788 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.965/8.502, allocations: 11.41 kB / 0.788 GB, free: 8.387 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)