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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001167/0.001167, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001113/0.001113, allocations: 191.1 kB / 16.25 MB, free: 6.625 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.154/1.154, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.217/2.217, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.91 kB / 0.8689 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4769/0.4781, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002163/0.4803, allocations: 1.523 MB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003239/0.4806, allocations: 187.5 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.4806, allocations: 0 / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.821e-05/0.4807, allocations: 3.938 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.4809, allocations: 23.91 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.481, allocations: 43.94 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.356e-05/0.4811, allocations: 59.78 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.312e-05/0.4812, allocations: 11.97 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.906e-05/0.4812, allocations: 19.98 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.066e-05/0.4813, allocations: 31.91 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.4813, allocations: 4 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.4813, allocations: 4 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.4814, allocations: 11.94 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.4814, allocations: 19.91 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.21e-05/0.4815, allocations: 58.11 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.4815, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4815, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.4815, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 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.000415/0.4819, allocations: 351.4 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.482, allocations: 12.03 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.153e-05/0.482, allocations: 34.75 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.482, allocations: 4.844 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.151e-05/0.4821, allocations: 172.3 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.4821, allocations: 4.375 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.4822, allocations: 4.375 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.4823, allocations: 72.81 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.4823, allocations: 7.938 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.4823, allocations: 0 / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.4823, allocations: 3.938 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.987e-05/0.4824, allocations: 15.94 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.4827, allocations: 280.7 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.986e-05/0.4828, allocations: 42.56 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.4828, allocations: 16.86 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.4828, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/0.4829, allocations: 63.42 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.483, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001668/0.4831, allocations: 73.67 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.4832, allocations: 106.8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.351e-05/0.4832, allocations: 109.8 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.4833, allocations: 29.7 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.4833, allocations: 88.05 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.4833, allocations: 7.906 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.4834, allocations: 21.7 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.182e-05/0.4835, allocations: 318.8 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.661e-05/0.4835, allocations: 16.17 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.654e-05/0.4835, allocations: 34.58 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.461e-05/0.4836, allocations: 32.88 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4836, allocations: 4 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.413e-05/0.4837, allocations: 53.69 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.4837, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4837, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.4837, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.561e-05/0.4838, allocations: 7.938 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.4838, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.4839, allocations: 11.89 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.4839, allocations: 8 kB / 1.021 GB, free: 14.44 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.38e-05/0.484, allocations: 118.3 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.484, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.841e-05/0.484, allocations: 11.5 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.484, allocations: 3.984 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4841, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.4841, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.4842, allocations: 165.8 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4842, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.4842, allocations: 8 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4842, allocations: 11.97 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.4842, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4842, allocations: 192 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4842, allocations: 4 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.4843, allocations: 96.94 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.4844, allocations: 92.94 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.4844, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.4845, allocations: 14.33 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.4846, allocations: 15.92 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.4846, allocations: 0 / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.421e-05/0.4846, allocations: 79.28 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4846, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000178/0.4848, allocations: 16 kB / 1.021 GB, free: 13.71 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.0003262/0.4851, allocations: 0.6319 MB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.709e-05/0.4853, allocations: 27.98 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4853, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.64e-05/0.4853, allocations: 19.98 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.4854, allocations: 7.859 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008394/0.4863, allocations: 1.176 MB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.4865, allocations: 0.6846 MB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.065e-05/0.4865, allocations: 4 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.4866, allocations: 19.42 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.4866, allocations: 0 / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3214/0.808, allocations: 1.667 MB / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.8082, allocations: 246.5 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.46/2.268, allocations: 0 / 1.026 GB, free: 9.301 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)