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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001315/0.001315, allocations: 108 kB / 15.6 MB, free: 132 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.001413/0.001414, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.2/1.2, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.28/2.28, allocations: 437.1 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.89 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.494/0.4953, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002261/0.4976, allocations: 1.444 MB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003514/0.498, allocations: 191.4 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.4981, allocations: 0 / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.266e-05/0.4981, allocations: 3.938 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.4983, allocations: 23.86 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.4984, allocations: 51.73 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.77e-05/0.4985, allocations: 63.83 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.803e-05/0.4986, allocations: 11.94 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.42e-05/0.4987, allocations: 23.98 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.4987, allocations: 23.91 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.4988, allocations: 4 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.4988, allocations: 4 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.4988, allocations: 15.92 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.4989, allocations: 23.92 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.475e-05/0.4989, allocations: 46.11 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.499, allocations: 0 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.002e-06/0.499, allocations: 0 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.499, allocations: 0 / 1.019 GB, free: 0.5586 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.0004095/0.4994, allocations: 355.4 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.4994, allocations: 12.03 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.261e-05/0.4995, allocations: 30.75 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.4995, allocations: 8.844 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.4996, allocations: 172.4 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.4996, allocations: 384 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.4996, allocations: 4.312 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.4998, allocations: 80.81 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.4998, allocations: 3.938 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.4998, allocations: 3.938 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.4998, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.959e-05/0.4999, allocations: 20 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.5002, allocations: 280.7 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.367e-05/0.5003, allocations: 42.56 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.002e-05/0.5003, allocations: 16.86 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.5003, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.5005, allocations: 63.48 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 3.717e-06/0.5005, allocations: 3.984 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001753/0.5006, allocations: 73.61 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.5007, allocations: 106.8 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.362e-05/0.5008, allocations: 105.8 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.5008, allocations: 25.7 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.5008, allocations: 95.98 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.5009, allocations: 3.906 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.5009, allocations: 25.7 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.09e-05/0.501, allocations: 318.8 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.594e-05/0.501, allocations: 7.984 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.611e-05/0.5011, allocations: 38.58 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.96e-05/0.5011, allocations: 32.78 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5011, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.8e-05/0.5012, allocations: 49.7 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.5012, allocations: 11.98 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.5012, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.5013, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.651e-05/0.5013, allocations: 4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.5013, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.5014, allocations: 24.36 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.5015, allocations: 0 / 1.021 GB, free: 14.31 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.301e-05/0.5015, allocations: 121.7 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.5016, allocations: 8 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.797e-05/0.5016, allocations: 7.5 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.5016, allocations: 3.984 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.5016, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.5016, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.5017, allocations: 173.6 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5017, allocations: 4 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.128e-05/0.5017, allocations: 4 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.5017, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.5018, allocations: 3.984 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5018, allocations: 4 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5018, allocations: 3.938 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.5019, allocations: 85.06 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.5019, allocations: 92.94 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.502, allocations: 8 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.901e-05/0.5021, allocations: 7.984 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.5021, allocations: 11.92 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.5021, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.576e-05/0.5022, allocations: 91.22 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5022, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001773/0.5023, allocations: 8 kB / 1.022 GB, free: 13.58 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.0003313/0.5027, allocations: 0.632 MB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.529e-05/0.5028, allocations: 31.92 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5028, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.774e-05/0.5028, allocations: 20.27 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.503, allocations: 0.5625 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008642/0.5039, allocations: 1.169 MB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.504, allocations: 0.6846 MB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.836e-05/0.5041, allocations: 7.938 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.5041, allocations: 19.42 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5041, allocations: 0 / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.68/2.184, allocations: 1.731 MB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/14.53, allocations: 19.67 kB / 1.026 GB, free: 9.266 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)