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.0008947/0.0008949, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005624/0.005624, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.213/1.213, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.094/2.094, allocations: 390.9 MB / 0.6664 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002909, allocations: 8 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.525/0.5254, allocations: 142.4 MB / 0.9552 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.001225/0.5266, allocations: 1.299 MB / 0.9564 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009033/0.5275, allocations: 0.8859 MB / 0.9573 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.156e-05/0.5276, allocations: 2.594 kB / 0.9573 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.5278, allocations: 60.8 kB / 0.9574 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003143/0.5281, allocations: 135.5 kB / 0.9575 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.432e-05/0.5282, allocations: 14.17 kB / 0.9575 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002754/0.5284, allocations: 348.4 kB / 0.9578 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6e-05/0.5285, allocations: 44.86 kB / 0.9579 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.5287, allocations: 123.3 kB / 0.958 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.5288, allocations: 134.3 kB / 0.9581 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.5289, allocations: 11.72 kB / 0.9581 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003037/0.5319, allocations: 0.6619 MB / 0.9588 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.532, allocations: 55.8 kB / 0.9588 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.5321, allocations: 151.6 kB / 0.959 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.5436, allocations: 13.29 MB / 0.972 GB, free: 10 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.5436, allocations: 0 / 0.972 GB, free: 10 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5436, allocations: 0 / 0.972 GB, free: 10 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.5436, allocations: 0 / 0.972 GB, free: 10 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.001114/0.5448, allocations: 0.6029 MB / 0.9726 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.5448, allocations: 9.344 kB / 0.9726 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.34e-05/0.5448, allocations: 40.48 kB / 0.9726 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.5449, allocations: 30.12 kB / 0.9726 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.5453, allocations: 368.9 kB / 0.973 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.5453, allocations: 6.328 kB / 0.973 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.5454, allocations: 4.5 kB / 0.973 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.5455, allocations: 106.9 kB / 0.9731 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.5455, allocations: 0 / 0.9731 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.5455, allocations: 4.969 kB / 0.9731 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.5455, allocations: 0.9688 kB / 0.9731 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.41e-05/0.5456, allocations: 68.17 kB / 0.9732 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.546, allocations: 352.2 kB / 0.9735 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.5461, allocations: 103.2 kB / 0.9736 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.057e-05/0.5462, allocations: 64.45 kB / 0.9737 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.5462, allocations: 5.031 kB / 0.9737 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.5462, allocations: 44.62 kB / 0.9737 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.5462, allocations: 0 / 0.9737 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002933/0.5465, allocations: 176.7 kB / 0.9739 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.5466, allocations: 142.8 kB / 0.974 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005229/0.5471, allocations: 0.5069 MB / 0.9745 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.5471, allocations: 27.2 kB / 0.9745 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.5472, allocations: 167.9 kB / 0.9747 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.5473, allocations: 6.875 kB / 0.9747 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.5473, allocations: 29.86 kB / 0.9747 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.5474, allocations: 339.9 kB / 0.9751 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.5476, allocations: 113.4 kB / 0.9752 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.5478, allocations: 189.9 kB / 0.9753 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.5481, allocations: 261.8 kB / 0.9756 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5481, allocations: 1.438 kB / 0.9756 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003996/0.5485, allocations: 328.2 kB / 0.9759 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.5485, allocations: 9.516 kB / 0.9759 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5485, allocations: 1.219 kB / 0.9759 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.5485, allocations: 5.219 kB / 0.9759 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.5486, allocations: 20.61 kB / 0.9759 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.5487, allocations: 1.344 kB / 0.9759 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.5488, allocations: 29.55 kB / 0.976 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.5488, allocations: 3.188 kB / 0.976 GB, free: 6.676 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.0001409/0.549, allocations: 181.2 kB / 0.9761 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.549, allocations: 33.12 kB / 0.9762 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.5493, allocations: 188.7 kB / 0.9764 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5493, allocations: 2.312 kB / 0.9764 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5494, allocations: 1.219 kB / 0.9764 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5494, allocations: 5.016 kB / 0.9764 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.5496, allocations: 289.3 kB / 0.9766 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5496, allocations: 1.531 kB / 0.9766 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.981e-05/0.5497, allocations: 19.31 kB / 0.9767 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5497, allocations: 1.594 kB / 0.9767 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.5497, allocations: 13.44 kB / 0.9767 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.5497, allocations: 5.516 kB / 0.9767 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5497, allocations: 1.5 kB / 0.9767 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.5499, allocations: 189 kB / 0.9769 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.5501, allocations: 150.9 kB / 0.977 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/0.5501, allocations: 1.938 kB / 0.977 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.5503, allocations: 9.297 kB / 0.977 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.5503, allocations: 3.438 kB / 0.977 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.5503, allocations: 3.25 kB / 0.977 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003726/0.5507, allocations: 382 kB / 0.9774 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5507, allocations: 0 / 0.9774 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004456/0.5511, allocations: 96.38 kB / 0.9775 GB, free: 5.547 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.004798/0.5559, allocations: 3.44 MB / 0.9808 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003053/0.5562, allocations: 193.4 kB / 0.981 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5563, allocations: 0 / 0.981 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.277e-05/0.5563, allocations: 46.19 kB / 0.9811 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.5567, allocations: 57.75 kB / 0.9811 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004073/0.5608, allocations: 3.702 MB / 0.9847 GB, free: 396 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.5611, allocations: 0.8223 MB / 0.9855 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.5612, allocations: 46.3 kB / 0.9856 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.5614, allocations: 79.41 kB / 0.9857 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of SimCode: time 3.2e-07/0.5614, allocations: 0 / 0.9857 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.5808, allocations: 10.51 MB / 0.9959 GB, free: 5.121 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/0.581, allocations: 227.5 kB / 0.9961 GB, free: 4.867 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.587, allocations: 7.5 kB / 0.9961 GB, free: 4.863 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)