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.0008685/0.0008687, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004898/0.004898, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.229/1.229, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.261/2.261, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002938, allocations: 12 kB / 0.8729 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4931/0.4934, allocations: 153.8 MB / 1.023 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001412/0.4949, allocations: 1.18 MB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000364/0.4952, allocations: 179.5 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.4953, allocations: 3.938 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.338e-05/0.4953, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.4955, allocations: 23.91 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.4957, allocations: 45.69 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.7e-05/0.4958, allocations: 59.78 kB / 1.025 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.22e-05/0.4959, allocations: 3.984 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.531e-05/0.4959, allocations: 19.98 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.295e-05/0.496, allocations: 19.92 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.496, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.496, allocations: 4 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.06e-05/0.496, allocations: 19.91 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5e-05/0.4961, allocations: 49.56 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.628e-05/0.4962, allocations: 46.25 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.4962, allocations: 0 / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4962, allocations: 0 / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.4962, allocations: 0 / 1.025 GB, free: 14.32 MB / 0.7794 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.0004227/0.4966, allocations: 343.4 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.4967, allocations: 15.97 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.4967, allocations: 30.75 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.4968, allocations: 12.84 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.4969, allocations: 168.4 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.4969, allocations: 4.375 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.4969, allocations: 384 / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.497, allocations: 80.75 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.497, allocations: 3.938 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.4971, allocations: 3.984 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.4971, allocations: 0 / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.02e-05/0.4971, allocations: 19.98 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.4975, allocations: 280.8 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.142e-05/0.4975, allocations: 38.5 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/0.4976, allocations: 16.86 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.4976, allocations: 0 / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/0.4977, allocations: 67.48 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4977, allocations: 0 / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001834/0.4979, allocations: 73.61 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.498, allocations: 102.8 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.953e-05/0.4981, allocations: 109.8 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.4981, allocations: 29.7 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.4981, allocations: 84.14 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.4982, allocations: 15.8 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.4982, allocations: 17.72 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.4983, allocations: 314.8 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.007e-05/0.4983, allocations: 8 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.821e-05/0.4984, allocations: 38.56 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.656e-05/0.4984, allocations: 24.86 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4984, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.103e-05/0.4985, allocations: 58 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.4986, allocations: 12.03 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4986, allocations: 4.062 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.4986, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.696e-05/0.4986, allocations: 7.984 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.4987, allocations: 0 / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.4988, allocations: 11.98 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.4988, allocations: 0 / 1.027 GB, free: 12.1 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 8.26e-05/0.4989, allocations: 117.8 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.4989, allocations: 11.91 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.03e-05/0.4989, allocations: 7.5 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4989, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4989, allocations: 7.938 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.4989, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.4991, allocations: 173.6 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4991, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/0.4991, allocations: 4 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.4991, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.4991, allocations: 3.938 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.4991, allocations: 3.984 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4991, allocations: 4 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.4992, allocations: 89.06 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.4993, allocations: 81.33 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.4993, allocations: 4 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.4994, allocations: 13.61 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.4995, allocations: 15.91 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.4995, allocations: 4 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.85e-05/0.4995, allocations: 87.28 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4995, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001885/0.4997, allocations: 15.84 kB / 1.027 GB, free: 11.37 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.0003554/0.5001, allocations: 0.6319 MB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.339e-05/0.5002, allocations: 31.98 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5002, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.61e-05/0.5002, allocations: 23.92 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.5004, allocations: 8.734 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009151/0.5013, allocations: 1.176 MB / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.5015, allocations: 0.6809 MB / 1.03 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.047e-05/0.5016, allocations: 4 kB / 1.03 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.5016, allocations: 15.44 kB / 1.03 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of SimCode: time 4.91e-07/0.5016, allocations: 96 / 1.03 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.5287, allocations: 1.539 MB / 1.031 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.5289, allocations: 236.1 kB / 1.032 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.121/2.65, allocations: 1.875 kB / 1.032 GB, free: 7.043 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)