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.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.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.001154/0.001154, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.162/1.162, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.004/2.004, allocations: 390.3 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.4582, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002039/0.4603, allocations: 1.454 MB / 0.9511 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003022/0.4606, allocations: 188.7 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.432e-05/0.4607, allocations: 0 / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.4607, allocations: 3.984 kB / 0.9513 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.4609, allocations: 25.45 kB / 0.9513 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.461, allocations: 50.48 kB / 0.9514 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.491e-05/0.4611, allocations: 56.91 kB / 0.9515 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.89e-05/0.4612, allocations: 12.58 kB / 0.9515 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.239e-05/0.4612, allocations: 27.55 kB / 0.9515 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.672e-05/0.4613, allocations: 22.34 kB / 0.9515 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.4613, allocations: 4.281 kB / 0.9515 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.433e-05/0.4613, allocations: 4 kB / 0.9515 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.4613, allocations: 10.86 kB / 0.9515 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.845e-05/0.4614, allocations: 23.5 kB / 0.9516 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.065e-05/0.4614, allocations: 50.08 kB / 0.9516 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.4615, allocations: 0 / 0.9516 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4615, allocations: 1.125 kB / 0.9516 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.4615, allocations: 4 kB / 0.9516 GB, free: 7.691 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.0003473/0.4618, allocations: 356.1 kB / 0.9519 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.4619, allocations: 9.812 kB / 0.952 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.241e-05/0.4619, allocations: 31.81 kB / 0.952 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.4619, allocations: 7.156 kB / 0.952 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.927e-05/0.462, allocations: 176.1 kB / 0.9522 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.462, allocations: 1.562 kB / 0.9522 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.462, allocations: 2.875 kB / 0.9522 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.4621, allocations: 78.27 kB / 0.9522 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.4621, allocations: 3.938 kB / 0.9522 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.4622, allocations: 5.188 kB / 0.9522 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.4622, allocations: 1.188 kB / 0.9522 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.58e-05/0.4622, allocations: 20.77 kB / 0.9523 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.4625, allocations: 273.2 kB / 0.9525 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.991e-05/0.4625, allocations: 42.88 kB / 0.9526 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.669e-05/0.4626, allocations: 15.42 kB / 0.9526 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.695e-06/0.4626, allocations: 1.094 kB / 0.9526 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.4627, allocations: 67.02 kB / 0.9526 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.4627, allocations: 0 / 0.9526 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000158/0.4629, allocations: 71.36 kB / 0.9527 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.4629, allocations: 108 kB / 0.9528 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.982e-05/0.463, allocations: 104.4 kB / 0.9529 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.463, allocations: 26.83 kB / 0.9529 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.197e-05/0.463, allocations: 86.52 kB / 0.953 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.463, allocations: 17.06 kB / 0.953 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.4631, allocations: 19.56 kB / 0.9531 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.094e-05/0.4631, allocations: 324.3 kB / 0.9534 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.486e-05/0.4631, allocations: 13.34 kB / 0.9534 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.851e-05/0.4632, allocations: 40.53 kB / 0.9534 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.234e-05/0.4632, allocations: 23.95 kB / 0.9534 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4632, allocations: 1.219 kB / 0.9534 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.696e-05/0.4633, allocations: 59.09 kB / 0.9535 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.4633, allocations: 8.062 kB / 0.9535 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.4633, allocations: 0 / 0.9535 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.4633, allocations: 0 / 0.9535 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.477e-05/0.4634, allocations: 9.594 kB / 0.9535 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.4634, allocations: 9.094 kB / 0.9535 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.4635, allocations: 8.453 kB / 0.9535 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.4635, allocations: 2.812 kB / 0.9535 GB, free: 5.656 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.925e-05/0.4636, allocations: 117.1 kB / 0.9537 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.4636, allocations: 9.922 kB / 0.9537 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.451e-05/0.4636, allocations: 3.5 kB / 0.9537 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.4636, allocations: 4.938 kB / 0.9537 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4636, allocations: 1.094 kB / 0.9537 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4636, allocations: 4 kB / 0.9537 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.505e-05/0.4637, allocations: 174.3 kB / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4637, allocations: 0 / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.012e-05/0.4637, allocations: 2.75 kB / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.4637, allocations: 1.406 kB / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.4637, allocations: 0 / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4638, allocations: 1.281 kB / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4638, allocations: 0 / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.564e-05/0.4639, allocations: 103.3 kB / 0.9539 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.4639, allocations: 92.53 kB / 0.954 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.4639, allocations: 8 kB / 0.954 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.525e-05/0.464, allocations: 9.609 kB / 0.954 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.4641, allocations: 3.031 kB / 0.9541 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.4641, allocations: 1.312 kB / 0.9541 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.493e-05/0.4641, allocations: 88.3 kB / 0.9541 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4641, allocations: 0 / 0.9541 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001768/0.4643, allocations: 9.531 kB / 0.9541 GB, free: 5.004 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.0002243/0.4645, allocations: 0.6308 MB / 0.9548 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.44e-05/0.4646, allocations: 32.89 kB / 0.9548 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4646, allocations: 1.344 kB / 0.9548 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.308e-05/0.4647, allocations: 13.53 kB / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.4648, allocations: 2.656 kB / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006655/0.4655, allocations: 1.17 MB / 0.956 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.829e-05/0.4655, allocations: 0.6832 MB / 0.9566 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.874e-05/0.4656, allocations: 8.203 kB / 0.9566 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.4656, allocations: 14.31 kB / 0.9566 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.4656, allocations: 3.938 kB / 0.9566 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.645/2.11, allocations: 1.734 MB / 0.9583 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/14.48, allocations: 13.19 kB / 0.9584 GB, free: 1.559 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)