Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_9_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.001201/0.001201, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001222/0.001222, allocations: 198 kB / 16.26 MB, free: 6.629 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.18/1.18, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.039/2.039, allocations: 390.2 MB / 0.6644 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 59.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4614/0.4625, allocations: 140.4 MB / 0.9492 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001863/0.4644, allocations: 1.517 MB / 0.9507 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000515/0.4649, allocations: 0.4939 MB / 0.9512 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.927e-05/0.4649, allocations: 0 / 0.9512 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.465, allocations: 3.984 kB / 0.9512 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.4651, allocations: 18.08 kB / 0.9512 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.65e-05/0.4652, allocations: 25.14 kB / 0.9512 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.184e-05/0.4653, allocations: 53.23 kB / 0.9513 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.182e-05/0.4654, allocations: 6.75 kB / 0.9513 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.347e-05/0.4655, allocations: 26.3 kB / 0.9513 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.569e-05/0.4655, allocations: 29.11 kB / 0.9513 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.4655, allocations: 3.875 kB / 0.9513 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.4655, allocations: 4.156 kB / 0.9514 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.4656, allocations: 5.406 kB / 0.9514 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.4656, allocations: 24.89 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.567e-05/0.4657, allocations: 45.27 kB / 0.9514 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4657, allocations: 0 / 0.9514 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4657, allocations: 1.406 kB / 0.9514 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.4657, allocations: 4 kB / 0.9514 GB, free: 7.363 MB / 0.7169 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.0004055/0.4661, allocations: 346 kB / 0.9518 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.4661, allocations: 9.688 kB / 0.9518 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.449e-05/0.4662, allocations: 40.36 kB / 0.9518 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.428e-05/0.4662, allocations: 6.219 kB / 0.9518 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.806e-05/0.4663, allocations: 167 kB / 0.952 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.4663, allocations: 1.875 kB / 0.952 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.4663, allocations: 8.031 kB / 0.952 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.456e-05/0.4664, allocations: 60.84 kB / 0.952 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.4664, allocations: 0 / 0.952 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.4664, allocations: 4 kB / 0.952 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.4664, allocations: 1.219 kB / 0.952 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.632e-05/0.4665, allocations: 21.05 kB / 0.9521 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.4667, allocations: 281.2 kB / 0.9523 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.4669, allocations: 69.14 kB / 0.9524 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.467, allocations: 18.33 kB / 0.9524 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.467, allocations: 9.453 kB / 0.9524 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.4671, allocations: 72.42 kB / 0.9525 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.4671, allocations: 1.562 kB / 0.9525 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0001861/0.4673, allocations: 91.45 kB / 0.9526 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.777e-05/0.4673, allocations: 60.48 kB / 0.9526 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.291e-05/0.4674, allocations: 99.98 kB / 0.9527 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.4674, allocations: 29.7 kB / 0.9528 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.775e-05/0.4674, allocations: 87.14 kB / 0.9528 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.4674, allocations: 17.52 kB / 0.9529 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.4675, allocations: 18.97 kB / 0.9529 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.966e-05/0.4675, allocations: 318.8 kB / 0.9532 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.117e-05/0.4675, allocations: 16.66 kB / 0.9532 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.563e-05/0.4676, allocations: 16.3 kB / 0.9532 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.712e-05/0.4676, allocations: 41.11 kB / 0.9533 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4676, allocations: 0 / 0.9533 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.615e-05/0.4677, allocations: 78.92 kB / 0.9533 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.4678, allocations: 4.844 kB / 0.9533 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.4678, allocations: 0 / 0.9533 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.4678, allocations: 1.344 kB / 0.9533 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.8e-05/0.4679, allocations: 11.89 kB / 0.9534 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.4679, allocations: 1.562 kB / 0.9534 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.163e-05/0.4679, allocations: 5.531 kB / 0.9534 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.4679, allocations: 1.594 kB / 0.9534 GB, free: 5.406 MB / 0.7169 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 4.703e-05/0.468, allocations: 124.7 kB / 0.9535 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.468, allocations: 10.11 kB / 0.9535 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.4682, allocations: 103.9 kB / 0.9536 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4682, allocations: 1.688 kB / 0.9536 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4682, allocations: 3.984 kB / 0.9536 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.4682, allocations: 5.031 kB / 0.9536 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.716e-05/0.4683, allocations: 177.5 kB / 0.9538 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4683, allocations: 1.25 kB / 0.9538 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.655e-05/0.4683, allocations: 12.52 kB / 0.9538 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4684, allocations: 1.375 kB / 0.9538 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.4684, allocations: 5.375 kB / 0.9538 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.4684, allocations: 0 / 0.9538 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4684, allocations: 0 / 0.9538 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.4685, allocations: 130.5 kB / 0.9539 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.4685, allocations: 78.45 kB / 0.954 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.4686, allocations: 5.328 kB / 0.954 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-05/0.4686, allocations: 3.438 kB / 0.954 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.4687, allocations: 11.17 kB / 0.954 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.4687, allocations: 6.812 kB / 0.954 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.227e-05/0.4687, allocations: 83.19 kB / 0.9541 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4687, allocations: 0 / 0.9541 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001763/0.4689, allocations: 9.469 kB / 0.9541 GB, free: 4.668 MB / 0.7169 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.0002638/0.4691, allocations: 0.6684 MB / 0.9548 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.4693, allocations: 45.28 kB / 0.9548 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.4693, allocations: 3.938 kB / 0.9548 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.283e-05/0.4693, allocations: 30.64 kB / 0.9548 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.4695, allocations: 7.859 kB / 0.9548 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007368/0.4702, allocations: 1.24 MB / 0.956 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.406e-05/0.4703, allocations: 0.6897 MB / 0.9567 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.966e-05/0.4704, allocations: 9.062 kB / 0.9567 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.4704, allocations: 21.97 kB / 0.9567 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.4704, allocations: 4 kB / 0.9568 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3523/0.8227, allocations: 1.526 MB / 0.9582 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000126/0.8229, allocations: 241.6 kB / 0.9585 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.443/2.266, allocations: 8.219 kB / 0.9585 GB, free: 1.07 MB / 0.7169 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)