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.001827/0.001834, allocations: 108 kB / 15.6 MB, free: 132 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.002109/0.002109, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.994/1.994, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002322/0.002322, allocations: 291 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.345/1.345, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 97.33 kB / 0.5953 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2855, allocations: 86.98 MB / 0.6803 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces): time 0.005083/0.2907, allocations: 1.234 MB / 0.6815 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.2921, allocations: 476.2 kB / 0.6819 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.379e-05/0.2922, allocations: 0.6562 kB / 0.6819 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.93e-05/0.2923, allocations: 8.938 kB / 0.6819 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.769e-05/0.2924, allocations: 0 / 0.6819 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.2927, allocations: 27.83 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.2928, allocations: 20.59 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.411e-05/0.2929, allocations: 4 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.2931, allocations: 12.64 kB / 0.682 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.203e-05/0.2932, allocations: 4.562 kB / 0.682 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.2932, allocations: 0 / 0.682 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.2934, allocations: 30.5 kB / 0.682 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.2934, allocations: 3.984 kB / 0.682 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.2935, allocations: 11.94 kB / 0.682 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.2936, allocations: 24.2 kB / 0.6821 GB, free: 14.72 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2937, allocations: 0 / 0.6821 GB, free: 14.72 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.2937, allocations: 4 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2937, allocations: 0 / 0.6821 GB, free: 14.71 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.0006262/0.2943, allocations: 319.6 kB / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.2944, allocations: 12.03 kB / 0.6824 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.923e-05/0.2945, allocations: 34.69 kB / 0.6824 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.2945, allocations: 4.844 kB / 0.6824 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.2947, allocations: 172.3 kB / 0.6826 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.2948, allocations: 384 / 0.6826 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.2948, allocations: 384 / 0.6826 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.295, allocations: 41.83 kB / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.295, allocations: 0 / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.295, allocations: 0 / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.295, allocations: 0 / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.997e-05/0.2951, allocations: 7.984 kB / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.2954, allocations: 153.6 kB / 0.6828 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.981e-05/0.2955, allocations: 26.53 kB / 0.6828 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.572e-05/0.2955, allocations: 12.92 kB / 0.6828 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003666/0.2959, allocations: 89.09 kB / 0.6829 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.889e-05/0.296, allocations: 38.5 kB / 0.6829 GB, free: 13.63 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.424e-06/0.296, allocations: 0 / 0.6829 GB, free: 13.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002402/0.2963, allocations: 41.69 kB / 0.683 GB, free: 13.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.2964, allocations: 55.34 kB / 0.683 GB, free: 13.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.2965, allocations: 102 kB / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.2965, allocations: 29.7 kB / 0.6832 GB, free: 13.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.2966, allocations: 84.12 kB / 0.6832 GB, free: 13.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.2967, allocations: 7.906 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.2967, allocations: 13.72 kB / 0.6833 GB, free: 13.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.2969, allocations: 310.8 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.297, allocations: 4 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.149e-05/0.297, allocations: 7.938 kB / 0.6836 GB, free: 12.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.324e-05/0.2971, allocations: 20.91 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2971, allocations: 0 / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001357/0.2973, allocations: 41.64 kB / 0.6836 GB, free: 12.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.2973, allocations: 9.719 kB / 0.6836 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2973, allocations: 3.938 kB / 0.6836 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.2974, allocations: 0 / 0.6836 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.862e-05/0.2975, allocations: 7.984 kB / 0.6837 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2975, allocations: 0 / 0.6837 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.365e-05/0.2975, allocations: 0 / 0.6837 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.2976, allocations: 0 / 0.6837 GB, free: 12.85 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 0.0001134/0.2977, allocations: 115.1 kB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.2977, allocations: 7.938 kB / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.2979, allocations: 52.72 kB / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.298, allocations: 0 / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.298, allocations: 0 / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.298, allocations: 3.984 kB / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.2982, allocations: 153.7 kB / 0.684 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.2982, allocations: 4 kB / 0.684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.805e-05/0.2983, allocations: 15.86 kB / 0.684 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2983, allocations: 4 kB / 0.684 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.2983, allocations: 0 / 0.684 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2984, allocations: 4 kB / 0.684 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2984, allocations: 0 / 0.684 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.2985, allocations: 69.12 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.017e-05/0.2986, allocations: 81.05 kB / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.2987, allocations: 0 / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.185e-05/0.2987, allocations: 0 / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.2987, allocations: 8 kB / 0.6841 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.2988, allocations: 3.984 kB / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.713e-05/0.2988, allocations: 79.28 kB / 0.6842 GB, free: 12.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2989, allocations: 0 / 0.6842 GB, free: 12.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003917/0.2993, allocations: 16 kB / 0.6842 GB, free: 12.14 MB / 494.1 MB 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.0006582/0.2999, allocations: 0.6162 MB / 0.6848 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.3001, allocations: 12 kB / 0.6849 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3001, allocations: 3.938 kB / 0.6849 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.181e-05/0.3002, allocations: 11.92 kB / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.3006, allocations: 4.562 kB / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006739/0.3013, allocations: 148.3 kB / 0.685 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.3017, allocations: 0.6807 MB / 0.6857 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.044e-05/0.3018, allocations: 4 kB / 0.6857 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.3018, allocations: 7.438 kB / 0.6857 GB, free: 10.56 MB / 494.1 MB Notification: Performance of SimCode: time 4.759e-06/0.3018, allocations: 0 / 0.6857 GB, free: 10.56 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.3316, allocations: 1.319 MB / 0.687 GB, free: 9.371 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.11, allocations: 11.73 kB / 0.687 GB, free: 9.359 MB / 494.1 MB (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)