Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.001186/0.001186, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001185/0.001185, allocations: 187.7 kB / 16.13 MB, free: 6.645 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.164/1.164, allocations: 222.9 MB / 239.8 MB, free: 4.484 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.033/2.033, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.00112, allocations: 67.89 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4552/0.4563, allocations: 140.4 MB / 0.9491 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001929/0.4583, allocations: 1.513 MB / 0.9505 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002811/0.4586, allocations: 193.9 kB / 0.9507 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.013e-05/0.4586, allocations: 1.375 kB / 0.9507 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.4587, allocations: 0 / 0.9507 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.4589, allocations: 17.39 kB / 0.9507 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.459, allocations: 59.42 kB / 0.9508 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.87e-05/0.4591, allocations: 53.25 kB / 0.9508 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.707e-05/0.4591, allocations: 7.859 kB / 0.9508 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.033e-05/0.4592, allocations: 23.52 kB / 0.9509 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.267e-05/0.4592, allocations: 18.2 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.4593, allocations: 2.688 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.491e-05/0.4593, allocations: 2.5 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.4593, allocations: 14.12 kB / 0.9509 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.4593, allocations: 26.92 kB / 0.9509 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.669e-05/0.4594, allocations: 42.52 kB / 0.951 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4594, allocations: 3.938 kB / 0.951 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.11e-07/0.4594, allocations: 1.688 kB / 0.951 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.277e-06/0.4594, allocations: 0 / 0.951 GB, free: 7.574 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003546/0.4598, allocations: 348.4 kB / 0.9513 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.4598, allocations: 8.781 kB / 0.9513 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.275e-05/0.4599, allocations: 31.91 kB / 0.9514 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.4599, allocations: 12.77 kB / 0.9514 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.311e-05/0.46, allocations: 174.8 kB / 0.9515 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.46, allocations: 5.594 kB / 0.9515 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.46, allocations: 1.719 kB / 0.9515 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.4601, allocations: 70.94 kB / 0.9516 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.4601, allocations: 5.438 kB / 0.9516 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.4601, allocations: 4 kB / 0.9516 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4601, allocations: 1.562 kB / 0.9516 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.568e-05/0.4602, allocations: 16.48 kB / 0.9516 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.4604, allocations: 280.9 kB / 0.9519 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.072e-05/0.4605, allocations: 38.94 kB / 0.9519 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.717e-05/0.4605, allocations: 15.73 kB / 0.9519 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-06/0.4606, allocations: 1.469 kB / 0.952 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/0.4607, allocations: 74.31 kB / 0.952 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.4607, allocations: 0 / 0.952 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001543/0.4608, allocations: 66.44 kB / 0.9521 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.4609, allocations: 104.2 kB / 0.9522 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.245e-05/0.4609, allocations: 106.1 kB / 0.9523 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.4609, allocations: 25.7 kB / 0.9523 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.006e-05/0.461, allocations: 86.89 kB / 0.9524 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.461, allocations: 17.17 kB / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.461, allocations: 19.22 kB / 0.9524 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.114e-05/0.461, allocations: 324.1 kB / 0.9527 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.514e-05/0.4611, allocations: 9.5 kB / 0.9527 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.751e-05/0.4611, allocations: 36.12 kB / 0.9528 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.141e-05/0.4612, allocations: 29.61 kB / 0.9528 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4612, allocations: 0 / 0.9528 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.876e-05/0.4613, allocations: 55.56 kB / 0.9529 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4613, allocations: 15.5 kB / 0.9529 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.4613, allocations: 0 / 0.9529 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.4613, allocations: 1.562 kB / 0.9529 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.494e-05/0.4614, allocations: 9.5 kB / 0.9529 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.4614, allocations: 3.984 kB / 0.9529 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.841e-05/0.4615, allocations: 9.484 kB / 0.9529 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.4615, allocations: 5.156 kB / 0.9529 GB, free: 5.547 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.825e-05/0.4615, allocations: 121.4 kB / 0.953 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.4616, allocations: 10.53 kB / 0.953 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.448e-05/0.4616, allocations: 3.5 kB / 0.953 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.4616, allocations: 1.312 kB / 0.953 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.4616, allocations: 0 / 0.953 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.4616, allocations: 1.188 kB / 0.953 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.625e-05/0.4617, allocations: 173.3 kB / 0.9532 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.4617, allocations: 0 / 0.9532 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.966e-05/0.4617, allocations: 8.344 kB / 0.9532 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.4617, allocations: 0 / 0.9532 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.4617, allocations: 0 / 0.9532 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4617, allocations: 1.5 kB / 0.9532 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4617, allocations: 4 kB / 0.9532 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.808e-05/0.4618, allocations: 95.3 kB / 0.9533 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.4619, allocations: 91.69 kB / 0.9534 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.4619, allocations: 5.281 kB / 0.9534 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.649e-05/0.462, allocations: 9.328 kB / 0.9534 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.462, allocations: 1.156 kB / 0.9534 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.462, allocations: 2.125 kB / 0.9534 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.567e-05/0.4621, allocations: 96.67 kB / 0.9535 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4621, allocations: 0 / 0.9535 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001763/0.4622, allocations: 9.438 kB / 0.9535 GB, free: 4.895 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0002267/0.4625, allocations: 0.6266 MB / 0.9541 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.921e-05/0.4626, allocations: 37.48 kB / 0.9542 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4626, allocations: 1.062 kB / 0.9542 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.235e-05/0.4626, allocations: 12.34 kB / 0.9542 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.4627, allocations: 3.062 kB / 0.9542 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006594/0.4634, allocations: 1.178 MB / 0.9553 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.959e-05/0.4635, allocations: 0.6825 MB / 0.956 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.21e-05/0.4635, allocations: 5.219 kB / 0.956 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.4636, allocations: 18.25 kB / 0.956 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.4636, allocations: 0 / 0.956 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06398/0.5275, allocations: 1.596 MB / 0.9576 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/0.5277, allocations: 230.2 kB / 0.9578 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/2.102, allocations: 0 / 0.9578 GB, free: 1.328 MB / 0.7169 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)