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.00142/0.00142, allocations: 108 kB / 15.61 MB, free: 152 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.001334/0.001334, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.25/1.25, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.531/2.531, allocations: 469.8 MB / 0.7424 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 63.94 kB / 0.9087 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2281, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002231/0.2304, allocations: 1.453 MB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003528/0.2307, allocations: 186.1 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/0.2308, allocations: 4 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.2308, allocations: 0 / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.231, allocations: 23.84 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.2311, allocations: 52.98 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.698e-05/0.2312, allocations: 63.78 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.934e-05/0.2313, allocations: 4 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.2313, allocations: 23.92 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.99e-05/0.2314, allocations: 19.97 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.2314, allocations: 11.94 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.552e-05/0.2315, allocations: 4 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.526e-05/0.2315, allocations: 11.98 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.881e-05/0.2315, allocations: 23.92 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.97e-05/0.2316, allocations: 48.08 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2316, allocations: 0 / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2316, allocations: 0 / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.2316, allocations: 0 / 1.066 GB, free: 12.28 MB / 0.8262 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.000438/0.2321, allocations: 351.4 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.2321, allocations: 16.03 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.203e-05/0.2322, allocations: 34.69 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.2322, allocations: 4.938 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.2323, allocations: 176.2 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.2323, allocations: 384 / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.2323, allocations: 4.359 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.2325, allocations: 68.83 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2325, allocations: 7.922 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.2325, allocations: 8 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.2325, allocations: 0 / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.931e-05/0.2326, allocations: 19.94 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.2329, allocations: 280.8 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.239e-05/0.233, allocations: 38.56 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.351e-05/0.233, allocations: 24.94 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.294e-06/0.233, allocations: 0 / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/0.2332, allocations: 67.33 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2332, allocations: 0 / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001743/0.2333, allocations: 73.58 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.2334, allocations: 102.8 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/0.2335, allocations: 109.8 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.2335, allocations: 29.7 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.2336, allocations: 88.14 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.2336, allocations: 7.844 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.2336, allocations: 25.7 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2337, allocations: 318.8 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.67e-05/0.2338, allocations: 8 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.805e-05/0.2338, allocations: 38.5 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.642e-05/0.2339, allocations: 32.88 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2339, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.713e-05/0.234, allocations: 53.61 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.234, allocations: 8 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.185e-06/0.234, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.234, allocations: 3.984 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.448e-05/0.2341, allocations: 11.94 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.2341, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.158e-05/0.2342, allocations: 11.98 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.2342, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 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.084e-05/0.2343, allocations: 125.8 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.2343, allocations: 4 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.44e-05/0.2343, allocations: 3.5 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.2343, allocations: 0 / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2343, allocations: 0 / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.2343, allocations: 7.922 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.2345, allocations: 169.6 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2345, allocations: 0 / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.989e-05/0.2345, allocations: 7.938 kB / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.2345, allocations: 4 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.2345, allocations: 4.422 kB / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2345, allocations: 4 kB / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2345, allocations: 4 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.2346, allocations: 92.91 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.2347, allocations: 85.09 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.2347, allocations: 4 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.271e-05/0.2348, allocations: 11.98 kB / 1.068 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.2349, allocations: 7.984 kB / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.2349, allocations: 0 / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.528e-05/0.2349, allocations: 87.28 kB / 1.068 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2349, allocations: 0 / 1.068 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001628/0.2351, allocations: 8 kB / 1.068 GB, free: 9.312 MB / 0.8262 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.0003883/0.2355, allocations: 0.6418 MB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.2356, allocations: 35.92 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2356, allocations: 0 / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.133e-05/0.2356, allocations: 19.98 kB / 1.069 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.2358, allocations: 0 / 1.069 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009305/0.2367, allocations: 1.164 MB / 1.07 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.237, allocations: 0.6807 MB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.713e-05/0.237, allocations: 11.91 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.237, allocations: 15.42 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.237, allocations: 4 kB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8638/1.101, allocations: 1.73 MB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/12.13, allocations: 3.859 kB / 1.073 GB, free: 5 MB / 0.8262 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)