Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IDEAS_dev_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.003901/0.003901, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001138/0.001138, allocations: 198.8 kB / 16.68 MB, free: 5.969 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.295/1.295, 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-master/package.mo): time 0.8883/0.8883, allocations: 135.5 MB / 426.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002655/0.002655, allocations: 71.88 kB / 0.5858 GB, free: 3.199 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3246, allocations: 81.02 MB / 0.6649 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002165/0.3268, allocations: 1.619 MB / 0.6665 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.3279, allocations: 1.15 MB / 0.6676 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.328, allocations: 1.5 kB / 0.6676 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.3281, allocations: 28.28 kB / 0.6676 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.3284, allocations: 67.67 kB / 0.6677 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.3286, allocations: 130.9 kB / 0.6678 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.3288, allocations: 231.6 kB / 0.668 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.984e-05/0.3289, allocations: 20.95 kB / 0.6681 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.926e-05/0.329, allocations: 79.61 kB / 0.6681 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.3292, allocations: 87.8 kB / 0.6682 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.3292, allocations: 15.78 kB / 0.6682 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.3294, allocations: 78.81 kB / 0.6683 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.432e-05/0.3294, allocations: 86.58 kB / 0.6684 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.573e-05/0.3295, allocations: 98.08 kB / 0.6685 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.3298, allocations: 280.6 kB / 0.6687 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3298, allocations: 1.312 kB / 0.6687 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3298, allocations: 4 kB / 0.6687 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3298, allocations: 0 / 0.6687 GB, free: 4.023 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.0005343/0.3303, allocations: 0.5302 MB / 0.6693 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.3304, allocations: 12.8 kB / 0.6693 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.862e-05/0.3304, allocations: 48.56 kB / 0.6693 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.578e-05/0.3305, allocations: 34.08 kB / 0.6694 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.3307, allocations: 259.7 kB / 0.6696 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.3307, allocations: 10.38 kB / 0.6696 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.3307, allocations: 17.62 kB / 0.6696 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.331, allocations: 215.2 kB / 0.6698 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.331, allocations: 0 / 0.6698 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.331, allocations: 6.469 kB / 0.6698 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.331, allocations: 2.844 kB / 0.6698 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006891/0.3317, allocations: 0.7375 MB / 0.6706 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006093/0.3323, allocations: 0.5602 MB / 0.6711 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.3327, allocations: 307.4 kB / 0.6714 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.3329, allocations: 104 kB / 0.6715 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.3329, allocations: 20.48 kB / 0.6715 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/0.3332, allocations: 180.6 kB / 0.6717 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.3332, allocations: 0 / 0.6717 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.000566/0.3338, allocations: 364.9 kB / 0.672 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.3338, allocations: 140.8 kB / 0.6722 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.334, allocations: 294.1 kB / 0.6725 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.334, allocations: 34.95 kB / 0.6725 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.3341, allocations: 117.9 kB / 0.6726 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/0.3342, allocations: 129.6 kB / 0.6727 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-05/0.3342, allocations: 60.69 kB / 0.6728 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.3343, allocations: 346.1 kB / 0.6731 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.3344, allocations: 80.45 kB / 0.6732 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.3346, allocations: 121.2 kB / 0.6733 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.3348, allocations: 221.4 kB / 0.6735 GB, free: 472 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3348, allocations: 0 / 0.6735 GB, free: 472 kB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003579/0.3352, allocations: 278.8 kB / 0.6738 GB, free: 328 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.3352, allocations: 5.438 kB / 0.6738 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3352, allocations: 9.469 kB / 0.6738 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.3352, allocations: 1.312 kB / 0.6738 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.3354, allocations: 67.67 kB / 0.6739 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3354, allocations: 5.031 kB / 0.6739 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.3356, allocations: 19.67 kB / 0.6739 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.3356, allocations: 17.17 kB / 0.6739 GB, free: 276 kB / 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.000101/0.3357, allocations: 162.4 kB / 0.6741 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.3358, allocations: 28.16 kB / 0.6741 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006251/0.3364, allocations: 376 kB / 0.6744 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3364, allocations: 3.469 kB / 0.6745 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3364, allocations: 5.188 kB / 0.6745 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3364, allocations: 3.984 kB / 0.6745 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.3367, allocations: 326.9 kB / 0.6748 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3367, allocations: 0 / 0.6748 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.3369, allocations: 62 kB / 0.6748 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3369, allocations: 1.469 kB / 0.6748 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.3369, allocations: 12.64 kB / 0.6748 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.337, allocations: 0 / 0.6748 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.337, allocations: 1.625 kB / 0.6748 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004714/0.3374, allocations: 326.9 kB / 0.6752 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.3376, allocations: 138.1 kB / 0.6753 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.3376, allocations: 14.61 kB / 0.6753 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.3377, allocations: 10.44 kB / 0.6753 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.3378, allocations: 24.45 kB / 0.6753 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.3378, allocations: 16.66 kB / 0.6754 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002054/0.338, allocations: 235.8 kB / 0.6756 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.134e-06/0.3381, allocations: 1.219 kB / 0.6756 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002592/0.3383, allocations: 65.81 kB / 0.6756 GB, free: 15.03 MB / 0.5137 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.001924/0.3402, allocations: 1.15 MB / 0.6768 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003712/0.3406, allocations: 226.7 kB / 0.677 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3406, allocations: 0 / 0.677 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.3408, allocations: 130.2 kB / 0.6771 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.3411, allocations: 45.64 kB / 0.6771 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.3438, allocations: 2.469 MB / 0.6796 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.3442, allocations: 0.7529 MB / 0.6803 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002923/0.3445, allocations: 143.5 kB / 0.6804 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.3446, allocations: 88.73 kB / 0.6805 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.3446, allocations: 0 / 0.6805 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2326/0.5772, allocations: 5.446 MB / 0.6858 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/8.334, allocations: 12.89 kB / 0.6858 GB, free: 8.598 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)