Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.LimitMin,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.001231/0.001231, allocations: 108 kB / 15.61 MB, free: 152 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.001228/0.001228, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.232/1.232, 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/IDEAS 3.0.0/package.mo): time 0.6995/0.6995, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 67.17 kB / 0.5019 GB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3154, allocations: 80.19 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002458/0.3179, allocations: 1.618 MB / 0.5818 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.3192, allocations: 1.167 MB / 0.5829 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.148e-05/0.3193, allocations: 1.156 kB / 0.5829 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.3194, allocations: 20.5 kB / 0.5829 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.3197, allocations: 69.58 kB / 0.583 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.3199, allocations: 128.2 kB / 0.5831 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.3202, allocations: 226.4 kB / 0.5833 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.611e-05/0.3203, allocations: 19.44 kB / 0.5834 GB, free: 2.406 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.677e-05/0.3203, allocations: 75.81 kB / 0.5834 GB, free: 2.375 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.3205, allocations: 89.81 kB / 0.5835 GB, free: 2.336 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.3206, allocations: 16.19 kB / 0.5835 GB, free: 2.336 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.3207, allocations: 84.06 kB / 0.5836 GB, free: 2.312 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.794e-05/0.3208, allocations: 82.73 kB / 0.5837 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.841e-05/0.3209, allocations: 98.86 kB / 0.5838 GB, free: 2.207 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.3212, allocations: 266.7 kB / 0.584 GB, free: 2.102 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3212, allocations: 5 kB / 0.5841 GB, free: 2.098 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3212, allocations: 0 / 0.5841 GB, free: 2.098 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.557e-06/0.3212, allocations: 0 / 0.5841 GB, free: 2.098 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005949/0.3218, allocations: 0.5299 MB / 0.5846 GB, free: 1.621 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.3219, allocations: 9.812 kB / 0.5846 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.3219, allocations: 48.28 kB / 0.5846 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.322, allocations: 25.34 kB / 0.5846 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.3222, allocations: 263.5 kB / 0.5849 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.3222, allocations: 14.12 kB / 0.5849 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.3222, allocations: 17.97 kB / 0.5849 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.3225, allocations: 209.7 kB / 0.5851 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3226, allocations: 0.7031 kB / 0.5851 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.3226, allocations: 14.53 kB / 0.5851 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3226, allocations: 3.75 kB / 0.5851 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008844/0.3235, allocations: 0.7348 MB / 0.5859 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007159/0.3242, allocations: 0.5615 MB / 0.5864 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.3247, allocations: 301.8 kB / 0.5867 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.3248, allocations: 98.77 kB / 0.5868 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.3249, allocations: 21.52 kB / 0.5868 GB, free: 0.543 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002744/0.3251, allocations: 177.8 kB / 0.587 GB, free: 464 kB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.3251, allocations: 0 / 0.587 GB, free: 464 kB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006282/0.3258, allocations: 370.4 kB / 0.5873 GB, free: 320 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.3258, allocations: 134.4 kB / 0.5875 GB, free: 160 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.3261, allocations: 304.8 kB / 0.5878 GB, free: 15.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.3261, allocations: 30.55 kB / 0.5878 GB, free: 15.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.288e-05/0.3262, allocations: 123.4 kB / 0.5879 GB, free: 15.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.675e-05/0.3263, allocations: 113.4 kB / 0.588 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.3264, allocations: 66.36 kB / 0.5881 GB, free: 15.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.3265, allocations: 342.1 kB / 0.5884 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.3267, allocations: 80.83 kB / 0.5885 GB, free: 15.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.3269, allocations: 125.7 kB / 0.5886 GB, free: 15.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.3272, allocations: 215.6 kB / 0.5888 GB, free: 15.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3272, allocations: 0 / 0.5888 GB, free: 15.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004504/0.3277, allocations: 285.5 kB / 0.5891 GB, free: 15.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3277, allocations: 4.812 kB / 0.5891 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3277, allocations: 1.719 kB / 0.5891 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3277, allocations: 0.7031 kB / 0.5891 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.328, allocations: 68.52 kB / 0.5892 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.328, allocations: 1.031 kB / 0.5892 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.3281, allocations: 30.53 kB / 0.5892 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.3282, allocations: 14.23 kB / 0.5892 GB, free: 15.06 MB / 446.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 (35): * Single equations (assignments): 35 * 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.0001435/0.3283, allocations: 171.6 kB / 0.5894 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.3284, allocations: 24.16 kB / 0.5894 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006615/0.329, allocations: 373 kB / 0.5897 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.329, allocations: 7.469 kB / 0.5897 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3291, allocations: 0.5 kB / 0.5897 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3291, allocations: 2.781 kB / 0.5897 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.3294, allocations: 331.9 kB / 0.5901 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3294, allocations: 4 kB / 0.5901 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.3295, allocations: 61.38 kB / 0.5901 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.3296, allocations: 2.281 kB / 0.5901 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.3296, allocations: 10.69 kB / 0.5901 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3296, allocations: 3.938 kB / 0.5901 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3296, allocations: 0.6562 kB / 0.5901 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.3301, allocations: 327.6 kB / 0.5905 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.3302, allocations: 138.2 kB / 0.5906 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.3302, allocations: 11.59 kB / 0.5906 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.3304, allocations: 17.86 kB / 0.5906 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.3305, allocations: 20.53 kB / 0.5906 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.3305, allocations: 14.45 kB / 0.5906 GB, free: 14.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001995/0.3307, allocations: 231 kB / 0.5909 GB, free: 14.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3307, allocations: 0 / 0.5909 GB, free: 14.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.331, allocations: 61.44 kB / 0.5909 GB, free: 14.03 MB / 446.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 (34): * Single equations (assignments): 33 * 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.001414/0.3324, allocations: 1.152 MB / 0.5921 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000474/0.3329, allocations: 304.1 kB / 0.5923 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3329, allocations: 0 / 0.5923 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.3331, allocations: 133.6 kB / 0.5925 GB, free: 13.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.3333, allocations: 36.67 kB / 0.5925 GB, free: 13.13 MB / 446.1 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.3359, allocations: 2.455 MB / 0.5949 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.3362, allocations: 0.7527 MB / 0.5956 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003025/0.3365, allocations: 143.3 kB / 0.5958 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.3366, allocations: 91.5 kB / 0.5959 GB, free: 10.76 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3366, allocations: 0 / 0.5959 GB, free: 10.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3183/0.6549, allocations: 5.393 MB / 0.6011 GB, free: 8.352 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.902/7.557, allocations: 5.406 kB / 0.6011 GB, free: 8.352 MB / 446.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)