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.001779/0.001779, allocations: 112.5 kB / 15.73 MB, free: 76 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.001879/0.001879, allocations: 191.3 kB / 16.67 MB, free: 6.582 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8172/0.8172, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 59.91 kB / 0.5809 GB, free: 8.039 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3599, allocations: 80.21 MB / 0.6592 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002477/0.3624, allocations: 1.618 MB / 0.6608 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.3638, allocations: 1.164 MB / 0.6619 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.401e-05/0.3638, allocations: 0 / 0.6619 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.364, allocations: 28.78 kB / 0.6619 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.3643, allocations: 65 kB / 0.662 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.3646, allocations: 136.8 kB / 0.6621 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.3649, allocations: 222.7 kB / 0.6623 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.527e-05/0.365, allocations: 24.2 kB / 0.6624 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.463e-05/0.3651, allocations: 83.81 kB / 0.6624 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.3653, allocations: 87.25 kB / 0.6625 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.3654, allocations: 16.81 kB / 0.6625 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.3655, allocations: 72.8 kB / 0.6626 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.694e-05/0.3656, allocations: 78.53 kB / 0.6627 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.839e-05/0.3657, allocations: 101.9 kB / 0.6628 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.366, allocations: 281.8 kB / 0.6631 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3661, allocations: 1.812 kB / 0.6631 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3661, allocations: 0 / 0.6631 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.3661, allocations: 7.938 kB / 0.6631 GB, free: 7.363 MB / 0.4981 GB 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.0006223/0.3667, allocations: 0.5322 MB / 0.6636 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.3667, allocations: 9.656 kB / 0.6636 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.999e-05/0.3668, allocations: 53 kB / 0.6636 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.984e-05/0.3669, allocations: 29.59 kB / 0.6637 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.3671, allocations: 266 kB / 0.6639 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.3671, allocations: 11.09 kB / 0.6639 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.3671, allocations: 14.28 kB / 0.6639 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.3674, allocations: 223.8 kB / 0.6642 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3674, allocations: 0 / 0.6642 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.3675, allocations: 6.594 kB / 0.6642 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.3675, allocations: 2.875 kB / 0.6642 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007454/0.3682, allocations: 0.7377 MB / 0.6649 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000659/0.3689, allocations: 0.5557 MB / 0.6654 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/0.3693, allocations: 299 kB / 0.6657 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.3695, allocations: 104.1 kB / 0.6658 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.421e-05/0.3696, allocations: 20.66 kB / 0.6658 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/0.3698, allocations: 172.3 kB / 0.666 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.3698, allocations: 0 / 0.666 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006139/0.3705, allocations: 376.8 kB / 0.6664 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.3705, allocations: 132.2 kB / 0.6665 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.3707, allocations: 301 kB / 0.6668 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.3708, allocations: 32.58 kB / 0.6668 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.3708, allocations: 128.6 kB / 0.6669 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.005e-05/0.3709, allocations: 114.1 kB / 0.667 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.057e-05/0.371, allocations: 68.72 kB / 0.6671 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.784e-05/0.371, allocations: 342.7 kB / 0.6674 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.3712, allocations: 84.45 kB / 0.6675 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.3713, allocations: 120.4 kB / 0.6676 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.3716, allocations: 221.2 kB / 0.6678 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3716, allocations: 0 / 0.6678 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003847/0.372, allocations: 279.6 kB / 0.6681 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.372, allocations: 5.594 kB / 0.6681 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3721, allocations: 0 / 0.6681 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3721, allocations: 2.469 kB / 0.6681 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.3723, allocations: 63.47 kB / 0.6682 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3723, allocations: 0.9375 kB / 0.6682 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.3724, allocations: 26.55 kB / 0.6682 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.3725, allocations: 21.39 kB / 0.6682 GB, free: 3.672 MB / 0.4981 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 (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.000113/0.3726, allocations: 160.6 kB / 0.6684 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.722e-05/0.3726, allocations: 27.94 kB / 0.6684 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006022/0.3732, allocations: 373.5 kB / 0.6688 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3733, allocations: 11.47 kB / 0.6688 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3733, allocations: 0 / 0.6688 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3733, allocations: 7.984 kB / 0.6688 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.3735, allocations: 331.2 kB / 0.6691 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3735, allocations: 0 / 0.6691 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.3737, allocations: 61 kB / 0.6691 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3737, allocations: 2.25 kB / 0.6691 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.3737, allocations: 7.562 kB / 0.6692 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.3737, allocations: 5.266 kB / 0.6692 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3737, allocations: 1.25 kB / 0.6692 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.3741, allocations: 325.6 kB / 0.6695 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.383e-05/0.3742, allocations: 141.8 kB / 0.6696 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.3743, allocations: 6.344 kB / 0.6696 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.3744, allocations: 13.55 kB / 0.6696 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.3745, allocations: 24.81 kB / 0.6697 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.3745, allocations: 16.8 kB / 0.6697 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001551/0.3747, allocations: 233.1 kB / 0.6699 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3747, allocations: 0 / 0.6699 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002819/0.375, allocations: 69.94 kB / 0.67 GB, free: 2.43 MB / 0.4981 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 (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.001787/0.3768, allocations: 1.15 MB / 0.6711 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003632/0.3771, allocations: 226.3 kB / 0.6713 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3771, allocations: 1.125 kB / 0.6713 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.3773, allocations: 125.9 kB / 0.6714 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.3776, allocations: 45.41 kB / 0.6715 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.38, allocations: 2.472 MB / 0.6739 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.3804, allocations: 0.7535 MB / 0.6746 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003361/0.3808, allocations: 147.2 kB / 0.6747 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.3809, allocations: 92.67 kB / 0.6748 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.3809, allocations: 0 / 0.6748 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.41, allocations: 5.444 MB / 0.6802 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.326, allocations: 5.078 kB / 0.6802 GB, free: 12.06 MB / 0.5137 GB (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)