Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.0008515/0.0008517, 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.004919/0.004919, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.208/1.208, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.274/2.274, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.0002921, allocations: 12 kB / 0.8729 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5089/0.5092, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001365/0.5106, allocations: 1.184 MB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003377/0.511, allocations: 179.4 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.796e-05/0.511, allocations: 0 / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.326e-05/0.5111, allocations: 0 / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.5112, allocations: 23.91 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.5114, allocations: 51.92 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.146e-05/0.5115, allocations: 55.8 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.459e-05/0.5116, allocations: 7.984 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.166e-05/0.5116, allocations: 12 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.091e-05/0.5117, allocations: 27.89 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.5117, allocations: 7.938 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.5117, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.694e-05/0.5117, allocations: 11.94 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.5118, allocations: 41.62 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.372e-05/0.5119, allocations: 58.09 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.5119, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5119, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.5119, allocations: 0 / 1.025 GB, free: 14.2 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.0003971/0.5123, allocations: 339.4 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.5123, allocations: 12.03 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.538e-05/0.5124, allocations: 30.75 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.5124, allocations: 8.844 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.5125, allocations: 164.4 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.5125, allocations: 8.375 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-06/0.5125, allocations: 384 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.5127, allocations: 80.75 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.5127, allocations: 3.938 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.5127, allocations: 7.984 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.5127, allocations: 3.984 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.717e-05/0.5128, allocations: 16 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.5131, allocations: 284.7 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.711e-05/0.5132, allocations: 34.52 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.5132, allocations: 20.94 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-06/0.5132, allocations: 0 / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.5134, allocations: 71.38 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.5134, allocations: 0 / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001752/0.5135, allocations: 73.61 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.5136, allocations: 106.8 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.275e-05/0.5137, allocations: 105.8 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.5137, allocations: 33.69 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.5137, allocations: 84.14 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.5138, allocations: 7.812 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.5138, allocations: 17.72 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.352e-05/0.5139, allocations: 322.8 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.486e-05/0.5139, allocations: 8 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.63e-05/0.514, allocations: 38.56 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.787e-05/0.514, allocations: 24.86 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.514, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.031e-05/0.5141, allocations: 57.62 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.5141, allocations: 8 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.5142, allocations: 4.031 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/0.5142, allocations: 0 / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.396e-05/0.5142, allocations: 4 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.5142, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.5143, allocations: 11.98 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.5144, allocations: 4 kB / 1.027 GB, free: 11.97 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.67e-05/0.5144, allocations: 114.3 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.5145, allocations: 11.89 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.661e-05/0.5145, allocations: 11.5 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5145, allocations: 448 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.5145, allocations: 4 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.5145, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.5146, allocations: 173.6 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.5146, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.265e-05/0.5147, allocations: 11.94 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.5147, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.5147, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5147, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5147, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.5148, allocations: 97.05 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.5149, allocations: 85.03 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.5149, allocations: 4 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.515, allocations: 15.5 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.515, allocations: 7.938 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.515, allocations: 0 / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.562e-05/0.5151, allocations: 91.27 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5151, allocations: 0 / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001802/0.5153, allocations: 15.91 kB / 1.027 GB, free: 11.24 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.0003486/0.5156, allocations: 0.6357 MB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.959e-05/0.5157, allocations: 31.98 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5157, allocations: 4 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.541e-05/0.5158, allocations: 15.94 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.5159, allocations: 11.94 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008773/0.5168, allocations: 1.171 MB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.517, allocations: 0.6809 MB / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.13e-05/0.5171, allocations: 4 kB / 1.03 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.5171, allocations: 15.42 kB / 1.03 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of SimCode: time 5.31e-07/0.5171, allocations: 4 kB / 1.03 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00986/0.527, allocations: 1.549 MB / 1.031 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/0.5272, allocations: 242 kB / 1.032 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.435/1.962, allocations: 7.938 kB / 1.032 GB, free: 6.938 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)