Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.003852/0.003852, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.00112/0.00112, allocations: 201.1 kB / 16.68 MB, free: 5.969 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.543/2.543, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001697, allocations: 68.11 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2562, allocations: 162.3 MB / 1.242 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002186/0.2584, allocations: 1.451 MB / 1.243 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007267/0.2591, allocations: 0.5026 MB / 1.244 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.941e-05/0.2592, allocations: 4 kB / 1.244 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.2592, allocations: 7.938 kB / 1.244 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.2594, allocations: 19.86 kB / 1.244 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.427e-05/0.2595, allocations: 23.91 kB / 1.244 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.987e-05/0.2596, allocations: 55.84 kB / 1.244 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.407e-05/0.2596, allocations: 3.938 kB / 1.244 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.31e-05/0.2597, allocations: 23.97 kB / 1.244 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.636e-05/0.2598, allocations: 23.91 kB / 1.244 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.2598, allocations: 8 kB / 1.244 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.2598, allocations: 4 kB / 1.244 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.64e-05/0.2599, allocations: 19.92 kB / 1.244 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.2599, allocations: 15.92 kB / 1.244 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.642e-05/0.26, allocations: 43.81 kB / 1.244 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.26, allocations: 0 / 1.244 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.52e-07/0.26, allocations: 0 / 1.244 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.26, allocations: 0 / 1.244 GB, free: 7.602 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005088/0.2605, allocations: 359.4 kB / 1.244 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.2606, allocations: 8.031 kB / 1.244 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.2606, allocations: 34.69 kB / 1.244 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.2606, allocations: 8.891 kB / 1.244 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.2608, allocations: 168.4 kB / 1.245 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.2608, allocations: 4.375 kB / 1.245 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.2608, allocations: 4.375 kB / 1.245 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.2609, allocations: 61.78 kB / 1.245 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.2609, allocations: 0 / 1.245 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.954e-06/0.2609, allocations: 4 kB / 1.245 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2609, allocations: 0 / 1.245 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.711e-05/0.261, allocations: 23.98 kB / 1.245 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.2613, allocations: 276.7 kB / 1.245 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.2615, allocations: 62.67 kB / 1.245 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.2616, allocations: 32.78 kB / 1.245 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.2616, allocations: 4 kB / 1.245 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.2618, allocations: 71.27 kB / 1.245 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.2618, allocations: 0 / 1.245 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0002042/0.262, allocations: 97.66 kB / 1.245 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.262, allocations: 51.41 kB / 1.245 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.56e-05/0.2621, allocations: 101.9 kB / 1.245 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.2621, allocations: 25.7 kB / 1.245 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.2622, allocations: 92.06 kB / 1.245 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.2622, allocations: 19.86 kB / 1.245 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.2622, allocations: 21.7 kB / 1.245 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.2624, allocations: 318.8 kB / 1.246 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.925e-05/0.2624, allocations: 19.92 kB / 1.246 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.723e-05/0.2624, allocations: 12 kB / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.14e-05/0.2625, allocations: 40.91 kB / 1.246 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2625, allocations: 0 / 1.246 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001096/0.2626, allocations: 73.69 kB / 1.246 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.2626, allocations: 4 kB / 1.246 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.2627, allocations: 192 / 1.246 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.2627, allocations: 0 / 1.246 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.83e-05/0.2627, allocations: 15.92 kB / 1.246 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.2627, allocations: 0 / 1.246 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.281e-05/0.2628, allocations: 11.94 kB / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.2628, allocations: 8 kB / 1.246 GB, free: 5.371 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 7.742e-05/0.2629, allocations: 114.3 kB / 1.246 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.2629, allocations: 8 kB / 1.246 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.2631, allocations: 101.6 kB / 1.246 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2631, allocations: 4 kB / 1.246 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2631, allocations: 0 / 1.246 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2631, allocations: 0 / 1.246 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.2633, allocations: 189.5 kB / 1.246 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2633, allocations: 0 / 1.246 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.2634, allocations: 12 kB / 1.246 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2634, allocations: 0 / 1.246 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.2634, allocations: 0 / 1.246 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/0.2634, allocations: 4 kB / 1.246 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2634, allocations: 3.938 kB / 1.246 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.2636, allocations: 129 kB / 1.246 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.2636, allocations: 85.05 kB / 1.247 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.2636, allocations: 4 kB / 1.247 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.124e-05/0.2637, allocations: 4 kB / 1.247 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.2637, allocations: 7.984 kB / 1.247 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.2637, allocations: 4.25 kB / 1.247 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.772e-05/0.2638, allocations: 87.28 kB / 1.247 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.763e-06/0.2638, allocations: 0 / 1.247 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001729/0.264, allocations: 15.92 kB / 1.247 GB, free: 4.512 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004351/0.2644, allocations: 0.6514 MB / 1.247 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.2646, allocations: 47.98 kB / 1.247 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.2646, allocations: 0 / 1.247 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.895e-05/0.2646, allocations: 35.92 kB / 1.247 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.2648, allocations: 9.25 kB / 1.247 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.2658, allocations: 1.242 MB / 1.249 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.2661, allocations: 0.6846 MB / 1.249 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.556e-05/0.2661, allocations: 8 kB / 1.249 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.2662, allocations: 23.36 kB / 1.249 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.2662, allocations: 0 / 1.249 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.557/2.823, allocations: 1.655 MB / 1.251 GB, free: 176 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.79/19.61, allocations: 19.14 kB / 1.251 GB, free: 160 kB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)