Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_9_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.0008713/0.0008714, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004966/0.004966, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.194/1.194, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.068/2.068, allocations: 390.9 MB / 0.6664 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002874, allocations: 16 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4988/0.4991, allocations: 142.4 MB / 0.9552 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.00116/0.5003, allocations: 1.173 MB / 0.9563 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003174/0.5006, allocations: 183.9 kB / 0.9565 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.892e-05/0.5007, allocations: 1.188 kB / 0.9565 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.312e-05/0.5007, allocations: 3.938 kB / 0.9565 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.5009, allocations: 20.77 kB / 0.9565 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.501, allocations: 49.62 kB / 0.9566 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.487e-05/0.5011, allocations: 60.3 kB / 0.9566 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.533e-05/0.5012, allocations: 6.703 kB / 0.9566 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.286e-05/0.5012, allocations: 23.3 kB / 0.9567 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.434e-05/0.5013, allocations: 22.48 kB / 0.9567 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.5013, allocations: 2 kB / 0.9567 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.5013, allocations: 3 kB / 0.9567 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.5013, allocations: 14 kB / 0.9567 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.5014, allocations: 49.31 kB / 0.9567 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.406e-05/0.5014, allocations: 42.42 kB / 0.9568 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5014, allocations: 4 kB / 0.9568 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5015, allocations: 3.938 kB / 0.9568 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.5015, allocations: 0 / 0.9568 GB, free: 6.375 MB / 0.7169 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.0003288/0.5018, allocations: 342.3 kB / 0.9571 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.5018, allocations: 9.844 kB / 0.9571 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.953e-05/0.5019, allocations: 35.89 kB / 0.9572 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.5019, allocations: 11.75 kB / 0.9572 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.036e-05/0.502, allocations: 163.3 kB / 0.9573 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.502, allocations: 5.812 kB / 0.9573 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.502, allocations: 1.844 kB / 0.9573 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.5021, allocations: 79.62 kB / 0.9574 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.5021, allocations: 3.938 kB / 0.9574 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.5021, allocations: 0 / 0.9574 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-06/0.5022, allocations: 1.281 kB / 0.9574 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.519e-05/0.5022, allocations: 17.55 kB / 0.9574 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.5024, allocations: 276.9 kB / 0.9577 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.419e-05/0.5025, allocations: 38.88 kB / 0.9577 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.711e-05/0.5026, allocations: 15.55 kB / 0.9577 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.5026, allocations: 1.094 kB / 0.9577 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/0.5027, allocations: 74.66 kB / 0.9578 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.5027, allocations: 0 / 0.9578 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001576/0.5029, allocations: 71.22 kB / 0.9579 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.5029, allocations: 103.8 kB / 0.958 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.451e-05/0.5029, allocations: 105.7 kB / 0.9581 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.503, allocations: 29.7 kB / 0.9581 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.101e-05/0.503, allocations: 81.98 kB / 0.9582 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.503, allocations: 17.95 kB / 0.9582 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.809e-05/0.503, allocations: 10.91 kB / 0.9582 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.251e-05/0.5031, allocations: 320 kB / 0.9585 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/0.5031, allocations: 9.625 kB / 0.9585 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.804e-05/0.5031, allocations: 36.47 kB / 0.9586 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.199e-05/0.5032, allocations: 28.16 kB / 0.9586 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.5032, allocations: 0 / 0.9586 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.013e-05/0.5033, allocations: 57.73 kB / 0.9587 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.5033, allocations: 5.625 kB / 0.9587 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.5033, allocations: 11.86 kB / 0.9587 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.5033, allocations: 4.094 kB / 0.9587 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.362e-05/0.5034, allocations: 9.625 kB / 0.9587 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.5034, allocations: 0 / 0.9587 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.5035, allocations: 12.02 kB / 0.9587 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.5035, allocations: 1.906 kB / 0.9587 GB, free: 4.363 MB / 0.7169 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 5.133e-05/0.5036, allocations: 117.4 kB / 0.9588 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.5036, allocations: 5.562 kB / 0.9588 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.666e-05/0.5036, allocations: 12.88 kB / 0.9588 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.5036, allocations: 0 / 0.9588 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5036, allocations: 2 kB / 0.9588 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.5036, allocations: 4.172 kB / 0.9588 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.918e-05/0.5037, allocations: 173.1 kB / 0.959 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5037, allocations: 0 / 0.959 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/0.5037, allocations: 3.719 kB / 0.959 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.5037, allocations: 3.984 kB / 0.959 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.5037, allocations: 5.391 kB / 0.959 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5037, allocations: 3.938 kB / 0.959 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5038, allocations: 0 / 0.959 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.485e-05/0.5039, allocations: 91.19 kB / 0.9591 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.5039, allocations: 87.59 kB / 0.9592 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.5039, allocations: 2.688 kB / 0.9592 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.945e-05/0.504, allocations: 14.2 kB / 0.9592 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.504, allocations: 6.453 kB / 0.9592 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.5041, allocations: 1.5 kB / 0.9592 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.496e-05/0.5041, allocations: 88.78 kB / 0.9593 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5041, allocations: 0 / 0.9593 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001763/0.5043, allocations: 10.12 kB / 0.9593 GB, free: 3.715 MB / 0.7169 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.0002277/0.5045, allocations: 0.6292 MB / 0.9599 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.151e-05/0.5046, allocations: 30.36 kB / 0.9599 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.5046, allocations: 4 kB / 0.9599 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/0.5047, allocations: 21.14 kB / 0.96 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.5048, allocations: 7.594 kB / 0.96 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006542/0.5055, allocations: 1.182 MB / 0.9611 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.985e-05/0.5055, allocations: 0.6798 MB / 0.9618 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.994e-05/0.5056, allocations: 4.125 kB / 0.9618 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.5056, allocations: 10.19 kB / 0.9618 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.5056, allocations: 4 kB / 0.9618 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.583/1.089, allocations: 1.527 MB / 0.9633 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/1.089, allocations: 232.8 kB / 0.9635 GB, free: 240 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.086/3.175, allocations: 7.5 kB / 0.9635 GB, free: 236 kB / 0.7169 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)