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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001169/0.001169, allocations: 108 kB / 15.61 MB, free: 128 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.001179/0.001179, allocations: 195.5 kB / 16.53 MB, free: 6.668 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.186/1.186, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.069/2.069, allocations: 390.2 MB / 0.6647 GB, free: 276 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.001171, allocations: 63.89 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4713/0.4725, allocations: 140.3 MB / 0.9497 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002285/0.4748, allocations: 1.586 MB / 0.9513 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.4759, allocations: 0.9059 MB / 0.9521 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.476, allocations: 6.625 kB / 0.9521 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.4762, allocations: 68.05 kB / 0.9522 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000378/0.4766, allocations: 157.2 kB / 0.9524 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.968e-05/0.4767, allocations: 9.391 kB / 0.9524 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.477, allocations: 356.4 kB / 0.9527 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.197e-05/0.477, allocations: 46.05 kB / 0.9528 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.4772, allocations: 138.1 kB / 0.9529 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.4774, allocations: 141.4 kB / 0.953 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.4774, allocations: 18.47 kB / 0.953 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.4802, allocations: 0.5602 MB / 0.9536 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.116e-05/0.4802, allocations: 54.16 kB / 0.9536 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.4804, allocations: 137.2 kB / 0.9538 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01219/0.4926, allocations: 13.23 MB / 0.9667 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.4926, allocations: 0 / 0.9667 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.517e-06/0.4926, allocations: 2.719 kB / 0.9667 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.4926, allocations: 3.938 kB / 0.9667 GB, free: 11.54 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.00114/0.4937, allocations: 0.6469 MB / 0.9673 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.4938, allocations: 13.45 kB / 0.9673 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.013e-05/0.4938, allocations: 31.47 kB / 0.9674 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.845e-05/0.4939, allocations: 35.75 kB / 0.9674 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.4943, allocations: 362.4 kB / 0.9677 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.4943, allocations: 10.94 kB / 0.9678 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.4943, allocations: 8.375 kB / 0.9678 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.4945, allocations: 102.4 kB / 0.9679 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.4945, allocations: 0 / 0.9679 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.4945, allocations: 1.156 kB / 0.9679 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.4945, allocations: 1.312 kB / 0.9679 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.882e-05/0.4946, allocations: 68.05 kB / 0.9679 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.4949, allocations: 346.1 kB / 0.9683 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.4951, allocations: 107.4 kB / 0.9684 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.555e-05/0.4951, allocations: 60.66 kB / 0.9684 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.4952, allocations: 0.9375 kB / 0.9684 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.4952, allocations: 44.41 kB / 0.9685 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4952, allocations: 0 / 0.9685 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003051/0.4955, allocations: 186.1 kB / 0.9686 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.4956, allocations: 133.6 kB / 0.9688 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005639/0.4961, allocations: 0.5031 MB / 0.9693 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4962, allocations: 26.73 kB / 0.9693 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.4963, allocations: 165.1 kB / 0.9694 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.4963, allocations: 13.91 kB / 0.9695 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.715e-05/0.4964, allocations: 49.41 kB / 0.9695 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.4965, allocations: 344.8 kB / 0.9698 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.4967, allocations: 96.23 kB / 0.9699 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.4968, allocations: 162.5 kB / 0.9701 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.4971, allocations: 236.6 kB / 0.9703 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.4971, allocations: 4 kB / 0.9703 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003724/0.4975, allocations: 297.6 kB / 0.9706 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.4975, allocations: 5.344 kB / 0.9706 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.4975, allocations: 0.9375 kB / 0.9706 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.4975, allocations: 1.969 kB / 0.9706 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.4977, allocations: 20.38 kB / 0.9706 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.4977, allocations: 2.25 kB / 0.9706 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.4978, allocations: 19.48 kB / 0.9706 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.4979, allocations: 12.52 kB / 0.9707 GB, free: 8.242 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.0001445/0.498, allocations: 179.8 kB / 0.9708 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.4981, allocations: 38.38 kB / 0.9709 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.4983, allocations: 184.5 kB / 0.971 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.4984, allocations: 1.625 kB / 0.971 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4984, allocations: 1.656 kB / 0.971 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4984, allocations: 1.094 kB / 0.971 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.4986, allocations: 292.8 kB / 0.9713 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4986, allocations: 5 kB / 0.9713 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.603e-05/0.4987, allocations: 19.45 kB / 0.9713 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4987, allocations: 2.281 kB / 0.9713 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.4987, allocations: 4.969 kB / 0.9714 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4987, allocations: 2.281 kB / 0.9714 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4987, allocations: 1.062 kB / 0.9714 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.499, allocations: 197.3 kB / 0.9715 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.4991, allocations: 133.9 kB / 0.9717 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.4991, allocations: 6.062 kB / 0.9717 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.4993, allocations: 13.36 kB / 0.9717 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.4993, allocations: 3.406 kB / 0.9717 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.4993, allocations: 7.141 kB / 0.9717 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003834/0.4997, allocations: 378.8 kB / 0.9721 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.4997, allocations: 0 / 0.9721 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004112/0.5001, allocations: 111 kB / 0.9722 GB, free: 7.102 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.004651/0.5048, allocations: 3.429 MB / 0.9755 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.5051, allocations: 172.6 kB / 0.9757 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.5051, allocations: 0 / 0.9757 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.379e-05/0.5051, allocations: 50.56 kB / 0.9757 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.5055, allocations: 61.3 kB / 0.9758 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/0.509, allocations: 3.49 MB / 0.9792 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.5093, allocations: 0.8146 MB / 0.98 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001204/0.5095, allocations: 49.23 kB / 0.98 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.5096, allocations: 83.61 kB / 0.9801 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.5096, allocations: 0 / 0.9801 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.5395, allocations: 10.66 MB / 0.9905 GB, free: 7.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.784/7.324, allocations: 11.62 kB / 0.9905 GB, free: 7.469 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)