Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.CorrectedConvection,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",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.001014/0.001014, 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.00101/0.00101, allocations: 197.1 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.17/1.17, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.333/2.333, allocations: 461.9 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 64.02 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.221, allocations: 157.4 MB / 1.052 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002399/0.2235, allocations: 1.65 MB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.2246, allocations: 0.9112 MB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.2247, allocations: 4 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.2249, allocations: 59.7 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.2253, allocations: 135.5 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.84e-05/0.2254, allocations: 7.984 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000312/0.2257, allocations: 358.3 kB / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.363e-05/0.2257, allocations: 44.73 kB / 1.055 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.2259, allocations: 127.3 kB / 1.055 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.2261, allocations: 131.3 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.2261, allocations: 16 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003149/0.2293, allocations: 0.668 MB / 1.056 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.2294, allocations: 47.77 kB / 1.056 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.2295, allocations: 135.1 kB / 1.056 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.2433, allocations: 13.28 MB / 1.069 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2433, allocations: 0 / 1.069 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.11e-07/0.2433, allocations: 0 / 1.069 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2433, allocations: 0 / 1.069 GB, free: 6.582 MB / 0.8262 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.001178/0.2445, allocations: 0.642 MB / 1.07 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2446, allocations: 19.91 kB / 1.07 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/0.2446, allocations: 42.67 kB / 1.07 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.075e-05/0.2447, allocations: 32.56 kB / 1.07 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.2451, allocations: 366.3 kB / 1.07 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.2451, allocations: 8.359 kB / 1.07 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.2451, allocations: 4.375 kB / 1.07 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.2452, allocations: 101.2 kB / 1.071 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2453, allocations: 3.938 kB / 1.071 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.2453, allocations: 0 / 1.071 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.2453, allocations: 0 / 1.071 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.113e-05/0.2454, allocations: 71.92 kB / 1.071 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.2457, allocations: 355.9 kB / 1.071 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.2458, allocations: 102.4 kB / 1.071 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.43e-05/0.2459, allocations: 59.45 kB / 1.071 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.2459, allocations: 4 kB / 1.071 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.2459, allocations: 46.44 kB / 1.071 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2459, allocations: 0 / 1.071 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002961/0.2462, allocations: 177.1 kB / 1.071 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.2463, allocations: 136.9 kB / 1.071 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005093/0.2468, allocations: 0.5053 MB / 1.072 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.2468, allocations: 25.7 kB / 1.072 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.247, allocations: 168.3 kB / 1.072 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.247, allocations: 15.75 kB / 1.072 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/0.2471, allocations: 53.59 kB / 1.072 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2472, allocations: 338.8 kB / 1.072 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.2473, allocations: 119.9 kB / 1.073 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.2475, allocations: 186.8 kB / 1.073 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.2478, allocations: 267.1 kB / 1.073 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2478, allocations: 0 / 1.073 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003969/0.2482, allocations: 325.1 kB / 1.073 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2483, allocations: 4 kB / 1.073 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2483, allocations: 7.938 kB / 1.073 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.2483, allocations: 4 kB / 1.073 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.2484, allocations: 19.97 kB / 1.073 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2484, allocations: 4 kB / 1.073 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.2486, allocations: 27.73 kB / 1.073 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.2486, allocations: 7.984 kB / 1.073 GB, free: 2.047 MB / 0.8262 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.0001361/0.2487, allocations: 177.8 kB / 1.074 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/0.2488, allocations: 35.56 kB / 1.074 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.2491, allocations: 180 kB / 1.074 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2491, allocations: 4 kB / 1.074 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.2491, allocations: 0 / 1.074 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2491, allocations: 3.984 kB / 1.074 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.2493, allocations: 293.3 kB / 1.074 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2494, allocations: 4 kB / 1.074 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.242e-05/0.2494, allocations: 19.88 kB / 1.074 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.2495, allocations: 4.125 kB / 1.074 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.2495, allocations: 4 kB / 1.074 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.2495, allocations: 7.984 kB / 1.074 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2495, allocations: 0 / 1.074 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.2497, allocations: 191.2 kB / 1.074 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.2498, allocations: 140.5 kB / 1.074 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.2499, allocations: 0 / 1.074 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.25, allocations: 15.97 kB / 1.074 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.25, allocations: 4 kB / 1.074 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.25, allocations: 4 kB / 1.074 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003611/0.2504, allocations: 379 kB / 1.075 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2504, allocations: 0 / 1.075 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004198/0.2508, allocations: 103.9 kB / 1.075 GB, free: 408 kB / 0.8262 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.004566/0.2554, allocations: 3.438 MB / 1.078 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002971/0.2557, allocations: 187.8 kB / 1.078 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2557, allocations: 3.938 kB / 1.078 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.499e-05/0.2558, allocations: 55.89 kB / 1.079 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.2561, allocations: 45.8 kB / 1.079 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.26, allocations: 3.685 MB / 1.082 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.2603, allocations: 0.8145 MB / 1.083 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000115/0.2605, allocations: 46.3 kB / 1.083 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.2606, allocations: 79.41 kB / 1.083 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.2606, allocations: 0 / 1.083 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.244/3.504, allocations: 10.66 MB / 1.093 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/3.505, allocations: 237.6 kB / 1.094 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/5.434, allocations: 0 / 1.094 GB, free: 13.14 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1)