Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ConvertTimeNegativeStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",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.004133/0.004133, allocations: 99.23 kB / 15.73 MB, free: 6.004 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.001222/0.001222, allocations: 191.6 kB / 16.67 MB, free: 5.922 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.917/2.917, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.89 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2809, allocations: 162.2 MB / 1.241 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002487/0.2834, allocations: 1.457 MB / 1.243 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000405/0.2839, allocations: 191.4 kB / 1.243 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.2839, allocations: 0 / 1.243 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.2839, allocations: 3.984 kB / 1.243 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.2842, allocations: 19.86 kB / 1.243 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.2843, allocations: 55.84 kB / 1.243 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.99e-05/0.2845, allocations: 63.78 kB / 1.243 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.885e-05/0.2845, allocations: 4 kB / 1.243 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.777e-05/0.2846, allocations: 23.98 kB / 1.243 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.802e-05/0.2847, allocations: 23.91 kB / 1.243 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.2847, allocations: 4 kB / 1.243 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.64e-05/0.2847, allocations: 4 kB / 1.243 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.002e-05/0.2848, allocations: 15.92 kB / 1.243 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.2848, allocations: 23.86 kB / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.2849, allocations: 51.8 kB / 1.243 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2849, allocations: 4 kB / 1.243 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2849, allocations: 0 / 1.243 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.285, allocations: 0 / 1.243 GB, free: 8.227 MB / 0.9981 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.0005236/0.2855, allocations: 353.4 kB / 1.244 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2855, allocations: 12.03 kB / 1.244 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.2856, allocations: 38.67 kB / 1.244 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.2856, allocations: 4.938 kB / 1.244 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.2858, allocations: 164.4 kB / 1.244 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.2858, allocations: 4.375 kB / 1.244 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.2858, allocations: 4.375 kB / 1.244 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.2859, allocations: 72.81 kB / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.286, allocations: 3.938 kB / 1.244 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.286, allocations: 4 kB / 1.244 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.286, allocations: 0 / 1.244 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.757e-05/0.286, allocations: 23.92 kB / 1.244 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.2864, allocations: 272.9 kB / 1.244 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.998e-05/0.2865, allocations: 38.56 kB / 1.244 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.2866, allocations: 16.94 kB / 1.244 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.2866, allocations: 7.938 kB / 1.244 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.2867, allocations: 67.31 kB / 1.244 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.2867, allocations: 0 / 1.244 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002115/0.2869, allocations: 77.67 kB / 1.244 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/0.287, allocations: 106.8 kB / 1.245 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.55e-05/0.2871, allocations: 101.9 kB / 1.245 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.2871, allocations: 25.7 kB / 1.245 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.2872, allocations: 100 kB / 1.245 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.2872, allocations: 3.953 kB / 1.245 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.2873, allocations: 25.66 kB / 1.245 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.2874, allocations: 322.8 kB / 1.245 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.051e-05/0.2875, allocations: 12 kB / 1.245 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.736e-05/0.2875, allocations: 34.94 kB / 1.245 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.847e-05/0.2876, allocations: 28.86 kB / 1.245 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2876, allocations: 0 / 1.245 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001078/0.2877, allocations: 57.64 kB / 1.245 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2877, allocations: 8 kB / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2877, allocations: 0 / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.2877, allocations: 0 / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.484e-05/0.2878, allocations: 19.95 kB / 1.245 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-06/0.2878, allocations: 0 / 1.245 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.288, allocations: 11.94 kB / 1.245 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.288, allocations: 3.984 kB / 1.245 GB, free: 5.973 MB / 0.9981 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.895e-05/0.2881, allocations: 118.3 kB / 1.245 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.2881, allocations: 0 / 1.245 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.803e-05/0.2881, allocations: 7.5 kB / 1.245 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.2881, allocations: 0 / 1.245 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2881, allocations: 0 / 1.245 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.2881, allocations: 4 kB / 1.245 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.2883, allocations: 173.6 kB / 1.246 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2883, allocations: 0 / 1.246 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.471e-05/0.2883, allocations: 4 kB / 1.246 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2883, allocations: 0 / 1.246 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.2883, allocations: 0 / 1.246 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2883, allocations: 3.938 kB / 1.246 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2883, allocations: 4 kB / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.2885, allocations: 100.9 kB / 1.246 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.2886, allocations: 85.09 kB / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.2886, allocations: 4 kB / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.2887, allocations: 12.05 kB / 1.246 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.2888, allocations: 4 kB / 1.246 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.2888, allocations: 0 / 1.246 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.885e-05/0.2888, allocations: 91.27 kB / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2888, allocations: 0 / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001975/0.289, allocations: 8 kB / 1.246 GB, free: 5.266 MB / 0.9981 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.0004463/0.2895, allocations: 0.6406 MB / 1.247 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.2896, allocations: 27.98 kB / 1.247 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2896, allocations: 0 / 1.247 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.684e-05/0.2897, allocations: 16 kB / 1.247 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.2898, allocations: 10.52 kB / 1.247 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.2909, allocations: 1.188 MB / 1.248 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.2913, allocations: 0.6807 MB / 1.248 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.074e-05/0.2913, allocations: 12.08 kB / 1.248 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.2913, allocations: 11.42 kB / 1.248 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/0.2913, allocations: 0 / 1.248 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.3126, allocations: 1.784 MB / 1.25 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/7.897, allocations: 10.47 kB / 1.25 GB, free: 0.9336 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.csv --start-time -3.1536e+07 --stop-time 3.1536e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 25228.8 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)