Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.ConvertTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_latest_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.006896/0.006896, allocations: 102.2 kB / 15.73 MB, free: 5.988 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.001795/0.001795, allocations: 188 kB / 16.67 MB, free: 5.914 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.611/2.611, allocations: 482.6 MB / 0.755 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 67.89 kB / 1.083 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.275, allocations: 162.3 MB / 1.242 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002383/0.2774, allocations: 1.451 MB / 1.243 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003952/0.2779, allocations: 187.4 kB / 1.243 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.2779, allocations: 0 / 1.243 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.2779, allocations: 3.938 kB / 1.243 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.2781, allocations: 31.84 kB / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.2783, allocations: 58.16 kB / 1.244 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.812e-05/0.2784, allocations: 55.8 kB / 1.244 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.832e-05/0.2785, allocations: 11.98 kB / 1.244 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.05e-05/0.2786, allocations: 19.98 kB / 1.244 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.503e-05/0.2787, allocations: 19.91 kB / 1.244 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.2787, allocations: 7.938 kB / 1.244 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.557e-05/0.2787, allocations: 8 kB / 1.244 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.2787, allocations: 15.92 kB / 1.244 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.2788, allocations: 15.94 kB / 1.244 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.2789, allocations: 55.72 kB / 1.244 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2789, allocations: 8 kB / 1.244 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2789, allocations: 0 / 1.244 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.2789, allocations: 0 / 1.244 GB, free: 7.887 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004923/0.2794, allocations: 347.4 kB / 1.244 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2795, allocations: 8.031 kB / 1.244 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.2795, allocations: 34.75 kB / 1.244 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.2796, allocations: 12.88 kB / 1.244 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.2797, allocations: 164.4 kB / 1.244 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.2797, allocations: 384 / 1.244 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.2797, allocations: 8.375 kB / 1.244 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.2799, allocations: 76.75 kB / 1.244 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.2799, allocations: 3.938 kB / 1.244 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.2799, allocations: 4 kB / 1.244 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2799, allocations: 0 / 1.244 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.436e-05/0.28, allocations: 15.98 kB / 1.244 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.2803, allocations: 284.8 kB / 1.245 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.626e-05/0.2804, allocations: 38.56 kB / 1.245 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/0.2804, allocations: 16.86 kB / 1.245 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.2805, allocations: 0 / 1.245 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.2806, allocations: 59.48 kB / 1.245 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2806, allocations: 0 / 1.245 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001913/0.2808, allocations: 77.75 kB / 1.245 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.2809, allocations: 110.8 kB / 1.245 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.865e-05/0.281, allocations: 105.8 kB / 1.245 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.281, allocations: 29.7 kB / 1.245 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.281, allocations: 88.03 kB / 1.245 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.2811, allocations: 15.94 kB / 1.245 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.2811, allocations: 13.72 kB / 1.245 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.2812, allocations: 322.8 kB / 1.246 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.951e-05/0.2813, allocations: 16 kB / 1.246 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.056e-05/0.2813, allocations: 30.61 kB / 1.246 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.397e-05/0.2814, allocations: 29.17 kB / 1.246 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2814, allocations: 0 / 1.246 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001023/0.2815, allocations: 73.62 kB / 1.246 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.2815, allocations: 4 kB / 1.246 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.2815, allocations: 0 / 1.246 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.2815, allocations: 0 / 1.246 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.733e-05/0.2816, allocations: 8 kB / 1.246 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.2816, allocations: 4.031 kB / 1.246 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.823e-05/0.2817, allocations: 14.88 kB / 1.246 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.2817, allocations: 0 / 1.246 GB, free: 5.645 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 (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 8.646e-05/0.2818, allocations: 122.3 kB / 1.246 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.2818, allocations: 4 kB / 1.246 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.66e-05/0.2818, allocations: 3.5 kB / 1.246 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.2819, allocations: 0 / 1.246 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2819, allocations: 0 / 1.246 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2819, allocations: 11.94 kB / 1.246 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.282, allocations: 173.6 kB / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.282, allocations: 0 / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.928e-05/0.282, allocations: 0 / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.282, allocations: 4 kB / 1.246 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.2821, allocations: 0 / 1.246 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2821, allocations: 0 / 1.246 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2821, allocations: 0 / 1.246 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.2822, allocations: 93 kB / 1.246 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-05/0.2823, allocations: 93.09 kB / 1.246 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.2823, allocations: 7.938 kB / 1.246 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.756e-05/0.2824, allocations: 7.984 kB / 1.246 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.406e-05/0.2824, allocations: 0 / 1.246 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.2825, allocations: 4 kB / 1.246 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.879e-05/0.2825, allocations: 87.33 kB / 1.246 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.823e-06/0.2825, allocations: 0 / 1.246 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001892/0.2827, allocations: 19.94 kB / 1.246 GB, free: 4.926 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,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.0004207/0.2831, allocations: 0.6282 MB / 1.247 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.2832, allocations: 31.98 kB / 1.247 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2833, allocations: 7.938 kB / 1.247 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.742e-05/0.2833, allocations: 12 kB / 1.247 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.2835, allocations: 9.344 kB / 1.247 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.2845, allocations: 1.18 MB / 1.248 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.2848, allocations: 0.6846 MB / 1.249 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.229e-05/0.2848, allocations: 4.281 kB / 1.249 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.2849, allocations: 11.44 kB / 1.249 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.2849, allocations: 0 / 1.249 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.107/1.392, allocations: 1.772 MB / 1.251 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/12.15, allocations: 16.17 kB / 1.251 GB, free: 0.5781 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)