Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.ConvertTimePositiveStart,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_11_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.001432/0.001432, allocations: 108 kB / 15.6 MB, free: 132 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.001383/0.001383, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.644/2.644, allocations: 469.8 MB / 0.7424 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 71.25 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2442, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002454/0.2467, allocations: 1.458 MB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003849/0.2471, allocations: 189.2 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.2471, allocations: 0 / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.175e-05/0.2472, allocations: 0 / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.2474, allocations: 27.84 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.2475, allocations: 57.73 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.088e-05/0.2476, allocations: 59.78 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.329e-05/0.2477, allocations: 4 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.967e-05/0.2478, allocations: 23.98 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.74e-05/0.2478, allocations: 27.91 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.2479, allocations: 4 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.75e-05/0.2479, allocations: 4 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.502e-05/0.2479, allocations: 11.92 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.248, allocations: 19.92 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.797e-05/0.2481, allocations: 52.08 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2481, allocations: 0 / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.041e-06/0.2481, allocations: 0 / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.2481, allocations: 4 kB / 1.066 GB, free: 12.27 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.0004877/0.2486, allocations: 351.4 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.2486, allocations: 8.031 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.37e-05/0.2487, allocations: 42.69 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.2487, allocations: 0.9375 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.2488, allocations: 168.3 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.2488, allocations: 4.312 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.2488, allocations: 8.375 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.249, allocations: 76.81 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.249, allocations: 3.938 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.249, allocations: 4 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.249, allocations: 3.984 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.941e-05/0.2491, allocations: 15.94 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.2494, allocations: 276.9 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.512e-05/0.2495, allocations: 38.58 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.2496, allocations: 24.88 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.2496, allocations: 3.984 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.2497, allocations: 63.33 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.2497, allocations: 0 / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001967/0.2499, allocations: 77.58 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.25, allocations: 106.8 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.2501, allocations: 105.9 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.2501, allocations: 25.7 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.2502, allocations: 84.12 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.2502, allocations: 15.84 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.2503, allocations: 25.64 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2504, allocations: 314.8 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-05/0.2504, allocations: 12 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.225e-05/0.2505, allocations: 38.56 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.089e-05/0.2505, allocations: 25.23 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2505, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001034/0.2506, allocations: 65.59 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.2507, allocations: 4 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.2507, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.527e-06/0.2507, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.2508, allocations: 15.92 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.2508, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.2509, allocations: 13.58 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.2509, allocations: 4 kB / 1.068 GB, free: 10.02 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.283e-05/0.251, allocations: 113.8 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.251, allocations: 4 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.897e-05/0.251, allocations: 7.5 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.251, allocations: 0 / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.251, allocations: 4 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.251, allocations: 0 / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.2512, allocations: 169.6 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2512, allocations: 4 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.407e-05/0.2512, allocations: 11.94 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.2512, allocations: 0 / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.2512, allocations: 3.938 kB / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2513, allocations: 3.984 kB / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2513, allocations: 0 / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.2514, allocations: 96.91 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.2515, allocations: 81.09 kB / 1.068 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.2515, allocations: 8 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.2516, allocations: 7.984 kB / 1.068 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.2516, allocations: 7.984 kB / 1.068 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.2516, allocations: 4 kB / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.398e-05/0.2517, allocations: 83.34 kB / 1.068 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2517, allocations: 0 / 1.068 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001886/0.2519, allocations: 16 kB / 1.069 GB, free: 9.309 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.0004362/0.2523, allocations: 0.636 MB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.2525, allocations: 31.98 kB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2525, allocations: 0 / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.2525, allocations: 19.97 kB / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.2527, allocations: 11.94 kB / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.2537, allocations: 1.162 MB / 1.07 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.254, allocations: 0.6807 MB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.513e-05/0.254, allocations: 11.91 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.2541, allocations: 15.42 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2541, allocations: 0 / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1226/0.3767, allocations: 1.753 MB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/8.497, allocations: 9.25 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)