Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_8_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.001455/0.001455, allocations: 105.4 kB / 15.7 MB, free: 24 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.001312/0.001312, allocations: 192.3 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.1 MB / 222.5 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.657/1.657, allocations: 292.3 MB / 0.549 GB, free: 12.72 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002489/0.00249, allocations: 70.08 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3015, allocations: 114.6 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.004597/0.3061, allocations: 1.441 MB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006818/0.3068, allocations: 183.3 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.57e-05/0.3069, allocations: 4 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.179e-05/0.3071, allocations: 0 / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.3074, allocations: 15.88 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.3077, allocations: 72.08 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.3079, allocations: 47.86 kB / 0.7854 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.3081, allocations: 7.984 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.69e-05/0.3082, allocations: 19.92 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.3083, allocations: 19.97 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.3083, allocations: 4 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.014e-05/0.3084, allocations: 4 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.595e-05/0.3084, allocations: 15.92 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.413e-05/0.3085, allocations: 19.88 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.3086, allocations: 52.08 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3087, allocations: 4 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3087, allocations: 0 / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3087, allocations: 0 / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000742/0.3094, allocations: 335.5 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.3095, allocations: 8.031 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.716e-05/0.3096, allocations: 38.73 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.3096, allocations: 4.938 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.3098, allocations: 172.2 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.3099, allocations: 8.312 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.3099, allocations: 384 / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.3101, allocations: 68.81 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3101, allocations: 3.938 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.3102, allocations: 0 / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3102, allocations: 4 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.375e-05/0.3103, allocations: 11.98 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/0.3108, allocations: 268.9 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.311, allocations: 42.5 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.481e-05/0.3111, allocations: 16.86 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.3111, allocations: 0 / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.3113, allocations: 63.48 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.3114, allocations: 4 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003119/0.3117, allocations: 85.5 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.065e-05/0.3118, allocations: 106.8 kB / 0.7867 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.3119, allocations: 109.8 kB / 0.7868 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.3119, allocations: 25.7 kB / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.312, allocations: 84.14 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.3121, allocations: 11.89 kB / 0.7869 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.3121, allocations: 21.7 kB / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3123, allocations: 314.8 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.069e-05/0.3124, allocations: 19.92 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.338e-05/0.3124, allocations: 30.58 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.57e-05/0.3125, allocations: 36.72 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3125, allocations: 0 / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000155/0.3127, allocations: 57.69 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.3127, allocations: 4 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3128, allocations: 0 / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3128, allocations: 32 / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.3129, allocations: 12 kB / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3129, allocations: 0 / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.3131, allocations: 11.89 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3131, allocations: 3.938 kB / 0.7874 GB, free: 9.109 MB / 0.6075 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 0.0001247/0.3133, allocations: 118.4 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.3133, allocations: 7.938 kB / 0.7875 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.3133, allocations: 11.48 kB / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3133, allocations: 0 / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3134, allocations: 4 kB / 0.7875 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3134, allocations: 0 / 0.7875 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.3136, allocations: 169.5 kB / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3136, allocations: 0 / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/0.3136, allocations: 4.438 kB / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3136, allocations: 0 / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.3137, allocations: 7.984 kB / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.3137, allocations: 8 kB / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3137, allocations: 0 / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.3139, allocations: 85.06 kB / 0.7878 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.173e-05/0.314, allocations: 93 kB / 0.7879 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.3141, allocations: 0 / 0.7879 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.3142, allocations: 7.984 kB / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.3143, allocations: 7.984 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.3143, allocations: 7.938 kB / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.677e-05/0.3144, allocations: 83.28 kB / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3144, allocations: 0 / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003463/0.3147, allocations: 12 kB / 0.788 GB, free: 8.395 MB / 0.6075 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.0005895/0.3153, allocations: 0.6281 MB / 0.7886 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001722/0.3155, allocations: 31.92 kB / 0.7886 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3156, allocations: 3.938 kB / 0.7886 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.943e-05/0.3156, allocations: 19.98 kB / 0.7887 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.3159, allocations: 10.84 kB / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.3175, allocations: 1.169 MB / 0.7898 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.3178, allocations: 0.6768 MB / 0.7905 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.304e-05/0.3179, allocations: 4 kB / 0.7905 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/0.318, allocations: 22.38 kB / 0.7905 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.318, allocations: 0 / 0.7905 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.3464, allocations: 1.761 MB / 0.7922 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/8.173, allocations: 12.44 kB / 0.7922 GB, free: 4.105 MB / 0.6075 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv --start-time 4.71744e+07 --stop-time 1.26144e+08 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)