Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.001037/0.001037, 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.001019/0.001019, allocations: 194.2 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7038/0.7038, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001175, allocations: 63.78 kB / 0.5019 GB, free: 3.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3151, allocations: 80.19 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002171/0.3173, allocations: 1.441 MB / 0.5816 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003308/0.3176, allocations: 185.2 kB / 0.5818 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.391e-05/0.3177, allocations: 0.7812 kB / 0.5818 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.02e-05/0.3177, allocations: 0.6562 kB / 0.5818 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.3179, allocations: 27.84 kB / 0.5818 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.318, allocations: 56.02 kB / 0.5819 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.052e-05/0.3181, allocations: 48.23 kB / 0.5819 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.668e-05/0.3182, allocations: 9.422 kB / 0.5819 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.532e-05/0.3183, allocations: 18.03 kB / 0.5819 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.273e-05/0.3183, allocations: 22 kB / 0.5819 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.3183, allocations: 3.875 kB / 0.582 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.575e-05/0.3184, allocations: 8.062 kB / 0.582 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.51e-05/0.3184, allocations: 22.61 kB / 0.582 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.3184, allocations: 16.69 kB / 0.582 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.003e-05/0.3185, allocations: 38.16 kB / 0.582 GB, free: 3.316 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3185, allocations: 0.7031 kB / 0.582 GB, free: 3.316 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3185, allocations: 0.9062 kB / 0.582 GB, free: 3.316 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.3185, allocations: 4 kB / 0.582 GB, free: 3.312 MB / 430.1 MB 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.0003775/0.3189, allocations: 345.3 kB / 0.5824 GB, free: 2.949 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.319, allocations: 13.59 kB / 0.5824 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.358e-05/0.319, allocations: 36.48 kB / 0.5824 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.319, allocations: 11.14 kB / 0.5824 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.857e-05/0.3191, allocations: 165 kB / 0.5826 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.3191, allocations: 1.188 kB / 0.5826 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.3191, allocations: 1.812 kB / 0.5826 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.3192, allocations: 76.33 kB / 0.5827 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.3193, allocations: 3.938 kB / 0.5827 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3193, allocations: 1.188 kB / 0.5827 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3193, allocations: 1.125 kB / 0.5827 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.461e-05/0.3193, allocations: 12.97 kB / 0.5827 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.3196, allocations: 261.6 kB / 0.5829 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.127e-05/0.3197, allocations: 45.95 kB / 0.583 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.047e-05/0.3198, allocations: 20.69 kB / 0.583 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.3198, allocations: 1.062 kB / 0.583 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.3199, allocations: 59.02 kB / 0.583 GB, free: 2.242 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3199, allocations: 0 / 0.583 GB, free: 2.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001733/0.3201, allocations: 77.78 kB / 0.5831 GB, free: 2.191 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.3201, allocations: 113 kB / 0.5832 GB, free: 2.059 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.033e-05/0.3202, allocations: 103.6 kB / 0.5833 GB, free: 1.957 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.3202, allocations: 26.64 kB / 0.5834 GB, free: 1.926 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.149e-05/0.3202, allocations: 86.09 kB / 0.5834 GB, free: 1.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.3202, allocations: 15.33 kB / 0.5835 GB, free: 1.828 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.3203, allocations: 21.53 kB / 0.5835 GB, free: 1.809 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.188e-05/0.3203, allocations: 313.6 kB / 0.5838 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.754e-05/0.3204, allocations: 14.77 kB / 0.5838 GB, free: 1.488 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.392e-05/0.3204, allocations: 40.27 kB / 0.5838 GB, free: 1.453 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.586e-05/0.3205, allocations: 28.97 kB / 0.5839 GB, free: 1.434 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.3205, allocations: 1.5 kB / 0.5839 GB, free: 1.434 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.604e-05/0.3206, allocations: 62.08 kB / 0.5839 GB, free: 1.387 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.3206, allocations: 6.344 kB / 0.5839 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3206, allocations: 0.6094 kB / 0.5839 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.3206, allocations: 0 / 0.5839 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.879e-05/0.3207, allocations: 6.641 kB / 0.5839 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3207, allocations: 8.906 kB / 0.5839 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.3208, allocations: 12.48 kB / 0.5839 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.3208, allocations: 2.75 kB / 0.5839 GB, free: 1.375 MB / 430.1 MB 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 5.218e-05/0.3209, allocations: 119.5 kB / 0.5841 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.3209, allocations: 2.031 kB / 0.5841 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.726e-05/0.3209, allocations: 9.406 kB / 0.5841 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3209, allocations: 0.7812 kB / 0.5841 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.3209, allocations: 0 / 0.5841 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3209, allocations: 5.969 kB / 0.5841 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.251e-05/0.321, allocations: 165.9 kB / 0.5842 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.321, allocations: 4.703 kB / 0.5842 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.167e-05/0.321, allocations: 4.109 kB / 0.5842 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.321, allocations: 0 / 0.5842 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.321, allocations: 5.172 kB / 0.5843 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3211, allocations: 1.797 kB / 0.5843 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3211, allocations: 0 / 0.5843 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.3212, allocations: 97.52 kB / 0.5843 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.3212, allocations: 87.59 kB / 0.5844 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.3212, allocations: 6.172 kB / 0.5844 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3213, allocations: 8.125 kB / 0.5844 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.3214, allocations: 3.859 kB / 0.5844 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.3214, allocations: 6.094 kB / 0.5845 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.584e-05/0.3214, allocations: 82.12 kB / 0.5845 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3214, allocations: 1.312 kB / 0.5845 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001906/0.3216, allocations: 13.03 kB / 0.5845 GB, free: 0.7656 MB / 430.1 MB 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.000255/0.3219, allocations: 0.6276 MB / 0.5852 GB, free: 160 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.322, allocations: 30.53 kB / 0.5852 GB, free: 152 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.322, allocations: 0 / 0.5852 GB, free: 152 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.779e-05/0.322, allocations: 19.09 kB / 0.5852 GB, free: 144 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.3222, allocations: 11.34 kB / 0.5852 GB, free: 140 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009233/0.3231, allocations: 1.165 MB / 0.5864 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.3233, allocations: 0.6812 MB / 0.587 GB, free: 14.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.085e-05/0.3234, allocations: 5.109 kB / 0.587 GB, free: 14.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.3234, allocations: 11.25 kB / 0.587 GB, free: 14.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3234, allocations: 0 / 0.587 GB, free: 14.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.339, allocations: 1.707 MB / 0.5887 GB, free: 13.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.612/6.952, allocations: 18.75 kB / 0.5887 GB, free: 13.93 MB / 446.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)