Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",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.001454/0.001454, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001784/0.001785, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.771/1.771, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005381/0.0005383, allocations: 12.22 kB / 0.6737 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2583, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.001972/0.2604, allocations: 1.237 MB / 0.7884 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.2618, allocations: 0.8469 MB / 0.7893 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.855e-05/0.2619, allocations: 4 kB / 0.7893 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.2621, allocations: 47.78 kB / 0.7893 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005311/0.2627, allocations: 123.7 kB / 0.7894 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.3e-05/0.2627, allocations: 11.94 kB / 0.7894 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003959/0.2631, allocations: 239.4 kB / 0.7897 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.916e-05/0.2632, allocations: 52.72 kB / 0.7897 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002761/0.2635, allocations: 115.5 kB / 0.7898 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.2637, allocations: 127.4 kB / 0.7899 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.2638, allocations: 12 kB / 0.79 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/0.2668, allocations: 0.5031 MB / 0.7904 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.267, allocations: 47.75 kB / 0.7905 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.972e-05/0.267, allocations: 73.58 kB / 0.7906 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005969/0.2676, allocations: 443.4 kB / 0.791 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2676, allocations: 0 / 0.791 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2677, allocations: 0 / 0.791 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.2677, allocations: 0 / 0.791 GB, free: 7.984 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001313/0.269, allocations: 0.6147 MB / 0.7916 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.269, allocations: 8.031 kB / 0.7916 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.542e-05/0.2691, allocations: 34.5 kB / 0.7916 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.699e-05/0.2692, allocations: 31.62 kB / 0.7917 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006273/0.2698, allocations: 361.3 kB / 0.792 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.2698, allocations: 0 / 0.792 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.2699, allocations: 8 kB / 0.792 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.2702, allocations: 97.06 kB / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2702, allocations: 7.938 kB / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.2702, allocations: 4 kB / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2702, allocations: 0 / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.968e-05/0.2703, allocations: 67.92 kB / 0.7922 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.2708, allocations: 356 kB / 0.7925 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.271, allocations: 106.4 kB / 0.7926 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.271, allocations: 8 kB / 0.7926 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.271, allocations: 34.56 kB / 0.7927 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.271, allocations: 0 / 0.7927 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003439/0.2714, allocations: 189.1 kB / 0.7928 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.2715, allocations: 132.5 kB / 0.793 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005922/0.2721, allocations: 0.5057 MB / 0.7935 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.2721, allocations: 29.64 kB / 0.7935 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.2723, allocations: 160.3 kB / 0.7936 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.2723, allocations: 15.81 kB / 0.7937 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/0.2723, allocations: 0 / 0.7937 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.2725, allocations: 350.8 kB / 0.794 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.2727, allocations: 115.9 kB / 0.7941 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.2729, allocations: 178.8 kB / 0.7943 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.2732, allocations: 132 kB / 0.7944 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2732, allocations: 0 / 0.7944 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004278/0.2736, allocations: 321.1 kB / 0.7947 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2736, allocations: 8 kB / 0.7947 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2737, allocations: 0 / 0.7947 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.2737, allocations: 7.984 kB / 0.7947 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.2738, allocations: 15.98 kB / 0.7947 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2738, allocations: 0 / 0.7947 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.274, allocations: 23.83 kB / 0.7948 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.274, allocations: 8 kB / 0.7948 GB, free: 3.793 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002259/0.2743, allocations: 189.7 kB / 0.7949 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.2743, allocations: 31.53 kB / 0.795 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.2746, allocations: 191.8 kB / 0.7952 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2746, allocations: 0 / 0.7952 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.2747, allocations: 4 kB / 0.7952 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2747, allocations: 3.984 kB / 0.7952 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.275, allocations: 297.4 kB / 0.7954 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.275, allocations: 0 / 0.7954 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.386e-05/0.2751, allocations: 12 kB / 0.7955 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2751, allocations: 0 / 0.7955 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.2751, allocations: 4 kB / 0.7955 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2751, allocations: 0 / 0.7955 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2751, allocations: 4.109 kB / 0.7955 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.2754, allocations: 228.2 kB / 0.7957 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.2755, allocations: 144.6 kB / 0.7958 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/0.2756, allocations: 3.984 kB / 0.7958 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.2757, allocations: 7.984 kB / 0.7958 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/0.2758, allocations: 7.953 kB / 0.7958 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.2758, allocations: 8 kB / 0.7959 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004383/0.2762, allocations: 379 kB / 0.7962 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2762, allocations: 0 / 0.7962 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004893/0.2767, allocations: 100 kB / 0.7963 GB, free: 2.082 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001139/0.2779, allocations: 1.005 MB / 0.7973 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003672/0.2783, allocations: 195.8 kB / 0.7975 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2783, allocations: 0 / 0.7975 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.597e-05/0.2783, allocations: 43.91 kB / 0.7975 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.2787, allocations: 56.22 kB / 0.7976 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.2805, allocations: 1.454 MB / 0.799 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.2809, allocations: 0.8227 MB / 0.7998 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001982/0.2811, allocations: 45.92 kB / 0.7998 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.2812, allocations: 79.41 kB / 0.7999 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.2812, allocations: 0 / 0.7999 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.3036, allocations: 9.385 MB / 0.8091 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/0.3039, allocations: 205.8 kB / 0.8093 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.226, allocations: 12 kB / 0.8093 GB, free: 4.82 MB / 0.6231 GB (rm -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) Environment - environmentSimulation: