Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_11_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.004733/0.004733, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001406/0.001406, allocations: 197.8 kB / 16.68 MB, free: 5.969 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.451/2.451, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 63.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6131/0.6148, allocations: 159.1 MB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002498/0.6173, allocations: 1.451 MB / 1.222 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004095/0.6178, allocations: 187.4 kB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.6178, allocations: 4 kB / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/0.6178, allocations: 0 / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.618, allocations: 23.84 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.6182, allocations: 58.98 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.6183, allocations: 59.78 kB / 1.222 GB, free: 268 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.172e-05/0.6184, allocations: 4 kB / 1.222 GB, free: 264 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.413e-05/0.6185, allocations: 27.97 kB / 1.222 GB, free: 236 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.23e-05/0.6186, allocations: 23.91 kB / 1.222 GB, free: 212 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.6186, allocations: 8 kB / 1.222 GB, free: 204 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.6186, allocations: 4 kB / 1.222 GB, free: 200 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.6186, allocations: 7.938 kB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.6187, allocations: 27.91 kB / 1.222 GB, free: 164 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.6188, allocations: 43.67 kB / 1.222 GB, free: 124 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.6188, allocations: 4 kB / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6188, allocations: 0 / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.6188, allocations: 3.938 kB / 1.222 GB, free: 116 kB / 0.9356 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.0005315/0.6194, allocations: 355.2 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.6194, allocations: 12.03 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.591e-05/0.6195, allocations: 34.75 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.6195, allocations: 4.875 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.6196, allocations: 180.3 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.6197, allocations: 384 / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.6197, allocations: 4.375 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.6198, allocations: 76.8 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.6198, allocations: 7.938 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.6199, allocations: 0 / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.6199, allocations: 0 / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.434e-05/0.6199, allocations: 19.94 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.6203, allocations: 272.8 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.557e-05/0.6204, allocations: 42.56 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.6204, allocations: 12.86 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.6205, allocations: 4 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.6206, allocations: 67.42 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.6206, allocations: 3.938 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002004/0.6208, allocations: 77.62 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/0.6209, allocations: 102.8 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.43e-05/0.621, allocations: 105.8 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.621, allocations: 25.7 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.6211, allocations: 88.14 kB / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.6211, allocations: 7.953 kB / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.6212, allocations: 21.7 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6213, allocations: 326.7 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.763e-05/0.6213, allocations: 8.234 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.992e-05/0.6214, allocations: 34.58 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.149e-05/0.6214, allocations: 28.84 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.6215, allocations: 4.031 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.994e-05/0.6216, allocations: 61.64 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.6216, allocations: 4 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.6216, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.6216, allocations: 4 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/0.6217, allocations: 7.938 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.6217, allocations: 0 / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.6218, allocations: 11.98 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.6218, allocations: 4 kB / 1.224 GB, free: 13.87 MB / 0.9512 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 9.624e-05/0.6219, allocations: 118.3 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.6219, allocations: 0 / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.622, allocations: 15.42 kB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.622, allocations: 4 kB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.622, allocations: 0 / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.622, allocations: 0 / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.6221, allocations: 173.5 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.6221, allocations: 0 / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/0.6222, allocations: 7.984 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.6222, allocations: 0 / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.6222, allocations: 4 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.6222, allocations: 0 / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6222, allocations: 192 / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.6223, allocations: 105.1 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.6224, allocations: 81.11 kB / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.6224, allocations: 11.98 kB / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.684e-05/0.6225, allocations: 4 kB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.6226, allocations: 11.98 kB / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.6226, allocations: 0 / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.063e-05/0.6227, allocations: 83.28 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6227, allocations: 0 / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001856/0.6228, allocations: 15.94 kB / 1.225 GB, free: 13.14 MB / 0.9512 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.0004544/0.6233, allocations: 0.6319 MB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.6234, allocations: 35.98 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6234, allocations: 0 / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.094e-05/0.6235, allocations: 15.98 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.6236, allocations: 4 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.6247, allocations: 1.176 MB / 1.226 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.6251, allocations: 0.6884 MB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.384e-05/0.6251, allocations: 4.094 kB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.6251, allocations: 15.38 kB / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.6251, allocations: 4 kB / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08866/0.7138, allocations: 1.771 MB / 1.229 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.947/9.661, allocations: 9.594 kB / 1.229 GB, free: 8.801 MB / 0.9512 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)