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.006366/0.006366, allocations: 101 kB / 15.73 MB, free: 6.473 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.001548/0.001548, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.355 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.375/2.375, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 61.86 kB / 0.9504 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2257, allocations: 140.4 MB / 1.087 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002483/0.2282, allocations: 1.578 MB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.2296, allocations: 0.9243 MB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.005e-05/0.2297, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.23, allocations: 63.66 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004362/0.2304, allocations: 151.3 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.593e-05/0.2305, allocations: 7.984 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003774/0.2309, allocations: 366.3 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.902e-05/0.231, allocations: 40.75 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.2312, allocations: 135.4 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.2314, allocations: 147.3 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.2314, allocations: 12 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003144/0.2346, allocations: 0.5708 MB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.476e-05/0.2347, allocations: 47.72 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.2348, allocations: 135.3 kB / 1.092 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01393/0.2488, allocations: 13.23 MB / 1.104 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2488, allocations: 0 / 1.104 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2488, allocations: 0 / 1.104 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.2488, allocations: 0 / 1.104 GB, free: 0.6094 MB / 0.8575 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.001423/0.2503, allocations: 0.6498 MB / 1.105 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2503, allocations: 8.031 kB / 1.105 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.2504, allocations: 38.73 kB / 1.105 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.414e-05/0.2504, allocations: 28.56 kB / 1.105 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.2509, allocations: 374.3 kB / 1.105 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.2509, allocations: 12.38 kB / 1.105 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.251, allocations: 8.312 kB / 1.106 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.2511, allocations: 105.1 kB / 1.106 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2511, allocations: 0 / 1.106 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.2511, allocations: 3.984 kB / 1.106 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2511, allocations: 0 / 1.106 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.461e-05/0.2512, allocations: 71.81 kB / 1.106 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.2516, allocations: 344 kB / 1.106 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.2517, allocations: 106.4 kB / 1.106 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.056e-05/0.2518, allocations: 63.47 kB / 1.106 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.2518, allocations: 7.922 kB / 1.106 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.2518, allocations: 38.5 kB / 1.106 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.2519, allocations: 0 / 1.106 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4): time 0.0003213/0.2522, allocations: 185.5 kB / 1.106 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.2522, allocations: 132.5 kB / 1.107 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005184/0.2528, allocations: 0.5014 MB / 1.107 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.2528, allocations: 29.7 kB / 1.107 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.2529, allocations: 160.3 kB / 1.107 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.2529, allocations: 11.84 kB / 1.107 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-05/0.253, allocations: 53.59 kB / 1.107 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2531, allocations: 342.9 kB / 1.108 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.2533, allocations: 107.8 kB / 1.108 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.2534, allocations: 162.7 kB / 1.108 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.2537, allocations: 231.3 kB / 1.108 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2537, allocations: 7.938 kB / 1.108 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000373/0.2541, allocations: 297 kB / 1.108 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2541, allocations: 5.562 kB / 1.108 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.2542, allocations: 0 / 1.108 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2542, allocations: 7.938 kB / 1.108 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.2543, allocations: 15.98 kB / 1.108 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.2543, allocations: 0 / 1.108 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.2545, allocations: 27.81 kB / 1.108 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.2545, allocations: 0 / 1.108 GB, free: 12.19 MB / 0.8731 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.0001468/0.2547, allocations: 189.7 kB / 1.109 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/0.2547, allocations: 35.56 kB / 1.109 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.255, allocations: 179.7 kB / 1.109 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.255, allocations: 0 / 1.109 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.255, allocations: 4 kB / 1.109 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.255, allocations: 0 / 1.109 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.2553, allocations: 289.4 kB / 1.109 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2553, allocations: 128 / 1.109 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.153e-05/0.2554, allocations: 23.92 kB / 1.109 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2554, allocations: 0 / 1.109 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.2554, allocations: 4 kB / 1.109 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2554, allocations: 0 / 1.109 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2554, allocations: 4 kB / 1.109 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.2556, allocations: 195.2 kB / 1.109 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.2558, allocations: 140.5 kB / 1.109 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.2558, allocations: 3.938 kB / 1.109 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.256, allocations: 11.98 kB / 1.109 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.256, allocations: 7.984 kB / 1.109 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/0.256, allocations: 4 kB / 1.109 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000388/0.2564, allocations: 379 kB / 1.11 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2564, allocations: 0 / 1.11 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004631/0.2569, allocations: 104 kB / 1.11 GB, free: 10.54 MB / 0.8731 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.00449/0.2614, allocations: 3.435 MB / 1.113 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.2618, allocations: 179.9 kB / 1.113 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.2618, allocations: 0 / 1.113 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.567e-05/0.2619, allocations: 47.91 kB / 1.113 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.2623, allocations: 57.78 kB / 1.114 GB, free: 6.781 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.266, allocations: 3.477 MB / 1.117 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.2664, allocations: 0.8181 MB / 1.118 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.2665, allocations: 45.92 kB / 1.118 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.2666, allocations: 79.41 kB / 1.118 GB, free: 2.227 MB / 0.8731 GB Notification: Performance of SimCode: time 3.91e-07/0.2666, allocations: 0 / 1.118 GB, free: 2.227 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.346/1.612, allocations: 10.72 MB / 1.128 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.407/11.02, allocations: 13 kB / 1.128 GB, free: 7.672 MB / 0.8887 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)