Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_10_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.001171/0.001171, 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.001178/0.001178, allocations: 196.8 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.198/1.198, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.247/2.247, allocations: 437 MB / 0.7099 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4574/0.4586, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002222/0.4609, allocations: 1.511 MB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003274/0.4612, allocations: 187.4 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.133e-05/0.4613, allocations: 0 / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.596e-05/0.4613, allocations: 0 / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.4615, allocations: 19.91 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.4616, allocations: 51.56 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.355e-05/0.4617, allocations: 59.69 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.751e-05/0.4618, allocations: 15.98 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.496e-05/0.4618, allocations: 19.92 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.722e-05/0.4619, allocations: 15.98 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.4619, allocations: 7.938 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.352e-05/0.4619, allocations: 3.938 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.462, allocations: 11.97 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.462, allocations: 19.92 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.919e-05/0.4621, allocations: 50.11 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4621, allocations: 4 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.52e-07/0.4621, allocations: 0 / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.925e-06/0.4621, allocations: 4 kB / 1.019 GB, free: 0.8047 MB / 0.7637 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.0004435/0.4626, allocations: 351.4 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.4626, allocations: 8.031 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.4626, allocations: 34.75 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.4627, allocations: 8.938 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.4628, allocations: 164.4 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.4628, allocations: 384 / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.4628, allocations: 384 / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.463, allocations: 84.75 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.463, allocations: 3.938 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.463, allocations: 3.938 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.463, allocations: 0 / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.565e-05/0.4631, allocations: 19.98 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.4634, allocations: 284.7 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.928e-05/0.4635, allocations: 42.52 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/0.4636, allocations: 20.94 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-06/0.4636, allocations: 3.984 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.4637, allocations: 59.39 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.4637, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000192/0.4639, allocations: 73.61 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.464, allocations: 106.8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.063e-05/0.4641, allocations: 105.9 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.4641, allocations: 25.7 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/0.4641, allocations: 92.03 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.4641, allocations: 7.906 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.4642, allocations: 21.7 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.882e-05/0.4643, allocations: 318.8 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.731e-05/0.4643, allocations: 12 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.426e-05/0.4644, allocations: 34.56 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.754e-05/0.4644, allocations: 24.86 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4644, allocations: 0 / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.983e-05/0.4645, allocations: 66.06 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.4646, allocations: 8 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.4646, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.4646, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.843e-05/0.4646, allocations: 7.984 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.4646, allocations: 8.031 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.4648, allocations: 11.89 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.4648, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 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 7.006e-05/0.4648, allocations: 117.8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.4649, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.651e-05/0.4649, allocations: 3.5 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4649, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.4649, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.4649, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.465, allocations: 177.6 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.465, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.4651, allocations: 11.88 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.4651, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.4651, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4651, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.4651, allocations: 7.922 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.4652, allocations: 85.06 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.4653, allocations: 100.9 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.4653, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4654, allocations: 11.98 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.4654, allocations: 3.984 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.4655, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.381e-05/0.4655, allocations: 87.28 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4655, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001796/0.4657, allocations: 8 kB / 1.021 GB, free: 13.85 MB / 0.7794 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.0003502/0.466, allocations: 0.6399 MB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.999e-05/0.4662, allocations: 32.02 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4662, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.859e-05/0.4662, allocations: 23.92 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.4663, allocations: 3.984 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008961/0.4672, allocations: 1.178 MB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.4675, allocations: 0.6908 MB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.183e-05/0.4675, allocations: 4 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.4675, allocations: 11.44 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.4675, allocations: 0 / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.06/1.527, allocations: 1.586 MB / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/1.528, allocations: 231.9 kB / 1.025 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/3.04, allocations: 2.75 kB / 1.025 GB, free: 9.438 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)