Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_9_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.00107/0.00107, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001196/0.001196, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.217/1.217, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.106/2.106, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5049/0.5061, allocations: 140.4 MB / 0.949 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002295/0.5084, allocations: 1.644 MB / 0.9506 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.5095, allocations: 0.9178 MB / 0.9515 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.374e-05/0.5096, allocations: 3 kB / 0.9515 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.5098, allocations: 48.44 kB / 0.9516 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000541/0.5103, allocations: 132.8 kB / 0.9517 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.073e-05/0.5104, allocations: 17.42 kB / 0.9517 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000431/0.5109, allocations: 355.8 kB / 0.9521 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.516e-05/0.511, allocations: 41.81 kB / 0.9521 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.5112, allocations: 130.4 kB / 0.9522 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.5115, allocations: 130.4 kB / 0.9524 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.5115, allocations: 11.41 kB / 0.9524 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003428/0.515, allocations: 0.6588 MB / 0.953 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.32e-05/0.5151, allocations: 51.78 kB / 0.9531 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.5152, allocations: 126 kB / 0.9532 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01341/0.5287, allocations: 13.29 MB / 0.9662 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.5287, allocations: 0 / 0.9662 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.02e-07/0.5287, allocations: 1.312 kB / 0.9662 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.5287, allocations: 0 / 0.9662 GB, free: 11.27 MB / 0.7325 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.001684/0.5304, allocations: 0.6594 MB / 0.9668 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.5304, allocations: 9.406 kB / 0.9668 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.5305, allocations: 37.67 kB / 0.9668 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.021e-05/0.5306, allocations: 29.5 kB / 0.9669 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/0.531, allocations: 380.7 kB / 0.9672 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.5311, allocations: 5.625 kB / 0.9672 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.5311, allocations: 9.375 kB / 0.9672 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.5312, allocations: 94.05 kB / 0.9673 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.5312, allocations: 0 / 0.9673 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.5313, allocations: 5.219 kB / 0.9673 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.5313, allocations: 0 / 0.9673 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.98e-05/0.5314, allocations: 74.05 kB / 0.9674 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.5318, allocations: 346.9 kB / 0.9677 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.5319, allocations: 111.7 kB / 0.9679 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.481e-05/0.532, allocations: 64.27 kB / 0.9679 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.532, allocations: 1.031 kB / 0.9679 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.532, allocations: 40.53 kB / 0.968 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 2.695e-06/0.532, allocations: 0 / 0.968 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003331/0.5324, allocations: 193 kB / 0.9681 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.5324, allocations: 134.5 kB / 0.9683 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005516/0.533, allocations: 0.499 MB / 0.9688 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.533, allocations: 26.58 kB / 0.9688 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.5332, allocations: 164.1 kB / 0.9689 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.5332, allocations: 11.38 kB / 0.9689 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-05/0.5333, allocations: 48.81 kB / 0.969 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5334, allocations: 344.9 kB / 0.9693 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.5336, allocations: 117.8 kB / 0.9694 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.5338, allocations: 182.7 kB / 0.9696 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.5341, allocations: 266 kB / 0.9699 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5341, allocations: 4 kB / 0.9699 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004438/0.5346, allocations: 325.2 kB / 0.9702 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.5346, allocations: 9.453 kB / 0.9702 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5346, allocations: 1.156 kB / 0.9702 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.5346, allocations: 1.969 kB / 0.9702 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.5347, allocations: 20.52 kB / 0.9702 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.5348, allocations: 1.094 kB / 0.9702 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.535, allocations: 29.14 kB / 0.9702 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.535, allocations: 4.844 kB / 0.9702 GB, free: 7.902 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.5351, allocations: 187.8 kB / 0.9704 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.5352, allocations: 33.06 kB / 0.9704 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.5355, allocations: 176.7 kB / 0.9706 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.5355, allocations: 2.938 kB / 0.9706 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.5355, allocations: 9.109 kB / 0.9706 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5355, allocations: 1.422 kB / 0.9706 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.5358, allocations: 296.5 kB / 0.9709 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.5358, allocations: 0.7188 kB / 0.9709 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.124e-05/0.5359, allocations: 28.11 kB / 0.9709 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5359, allocations: 1.094 kB / 0.9709 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.5359, allocations: 6.234 kB / 0.9709 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5359, allocations: 1 kB / 0.9709 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5359, allocations: 1.156 kB / 0.9709 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.5362, allocations: 185.4 kB / 0.9711 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.5363, allocations: 134.4 kB / 0.9713 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.5364, allocations: 9.984 kB / 0.9713 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.5365, allocations: 10.36 kB / 0.9713 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.5365, allocations: 11 kB / 0.9713 GB, free: 7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.5365, allocations: 3.219 kB / 0.9713 GB, free: 7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004105/0.537, allocations: 382.1 kB / 0.9717 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.537, allocations: 0 / 0.9717 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006108/0.5376, allocations: 99.78 kB / 0.9717 GB, free: 6.77 MB / 0.7325 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 (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.005056/0.5426, allocations: 3.437 MB / 0.9751 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000317/0.543, allocations: 188.6 kB / 0.9753 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.543, allocations: 4 kB / 0.9753 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.972e-05/0.5431, allocations: 55.08 kB / 0.9753 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.5434, allocations: 46.91 kB / 0.9754 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004454/0.5479, allocations: 3.692 MB / 0.979 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.5482, allocations: 0.8192 MB / 0.9798 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001346/0.5483, allocations: 46.8 kB / 0.9798 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.5485, allocations: 75.5 kB / 0.9799 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.5485, allocations: 0 / 0.9799 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.5683, allocations: 10.66 MB / 0.9903 GB, free: 7.285 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.5685, allocations: 226.4 kB / 0.9905 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/2.397, allocations: 0 / 0.9905 GB, free: 7.031 MB / 0.7481 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1)