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.0011/0.0011, 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.001147/0.001147, allocations: 194.6 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.22/1.22, 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.71/0.71, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001298, allocations: 65.12 kB / 0.5019 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3255, allocations: 80.2 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00242/0.328, allocations: 1.618 MB / 0.5818 GB, free: 3.469 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.3293, allocations: 1.161 MB / 0.5829 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.3293, allocations: 5.062 kB / 0.5829 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.3295, allocations: 20.72 kB / 0.5829 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.3297, allocations: 68.28 kB / 0.583 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.33, allocations: 136.2 kB / 0.5831 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.3303, allocations: 222.8 kB / 0.5833 GB, free: 2.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.242e-05/0.3304, allocations: 19.34 kB / 0.5834 GB, free: 2.422 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.832e-05/0.3304, allocations: 80.27 kB / 0.5834 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.3306, allocations: 88.78 kB / 0.5835 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.3307, allocations: 17.16 kB / 0.5835 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.3308, allocations: 83.66 kB / 0.5836 GB, free: 2.324 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.719e-05/0.3309, allocations: 83.08 kB / 0.5837 GB, free: 2.285 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.581e-05/0.331, allocations: 102.2 kB / 0.5838 GB, free: 2.215 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.3313, allocations: 278.9 kB / 0.5841 GB, free: 2.098 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3313, allocations: 0.7031 kB / 0.5841 GB, free: 2.098 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3313, allocations: 1.031 kB / 0.5841 GB, free: 2.098 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3313, 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.0005988/0.3319, allocations: 0.522 MB / 0.5846 GB, free: 1.629 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.332, allocations: 8.812 kB / 0.5846 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.052e-05/0.332, allocations: 54.17 kB / 0.5846 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.231e-05/0.3321, allocations: 23.91 kB / 0.5847 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.3323, allocations: 259.2 kB / 0.5849 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.3323, allocations: 15.06 kB / 0.5849 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.3323, allocations: 21.91 kB / 0.5849 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.3327, allocations: 210.5 kB / 0.5851 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3327, allocations: 0 / 0.5851 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.3327, allocations: 5.375 kB / 0.5851 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3327, allocations: 4.125 kB / 0.5851 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008728/0.3336, allocations: 0.7353 MB / 0.5859 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007167/0.3343, allocations: 0.5615 MB / 0.5864 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.3348, allocations: 298.2 kB / 0.5867 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.3349, allocations: 102.3 kB / 0.5868 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.335, allocations: 21.5 kB / 0.5868 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002757/0.3352, allocations: 177.6 kB / 0.587 GB, free: 476 kB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.3352, allocations: 0 / 0.587 GB, free: 476 kB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006088/0.3359, allocations: 370.8 kB / 0.5873 GB, free: 332 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.3359, allocations: 133.3 kB / 0.5875 GB, free: 172 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.3362, allocations: 303.7 kB / 0.5878 GB, free: 16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.3362, allocations: 35.89 kB / 0.5878 GB, free: 15.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.3363, allocations: 121.6 kB / 0.5879 GB, free: 15.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.015e-05/0.3364, allocations: 110.8 kB / 0.588 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.201e-05/0.3365, allocations: 69.64 kB / 0.5881 GB, free: 15.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3366, allocations: 339.7 kB / 0.5884 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.3367, allocations: 78.38 kB / 0.5885 GB, free: 15.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.3369, allocations: 131.4 kB / 0.5886 GB, free: 15.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.3373, allocations: 215.6 kB / 0.5888 GB, free: 15.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3373, allocations: 4 kB / 0.5888 GB, free: 15.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004391/0.3377, allocations: 276.5 kB / 0.5891 GB, free: 15.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3377, allocations: 5.406 kB / 0.5891 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3377, allocations: 0 / 0.5891 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3378, allocations: 1.844 kB / 0.5891 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.338, allocations: 63.91 kB / 0.5891 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.338, allocations: 6.562 kB / 0.5891 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.3381, allocations: 27.84 kB / 0.5892 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.3382, allocations: 13.33 kB / 0.5892 GB, free: 15.07 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.0001436/0.3383, allocations: 167.5 kB / 0.5893 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.3384, allocations: 24.78 kB / 0.5894 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006605/0.339, allocations: 376.8 kB / 0.5897 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.892e-06/0.3391, allocations: 4.125 kB / 0.5897 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3391, allocations: 4.969 kB / 0.5897 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.3391, allocations: 1.594 kB / 0.5897 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.3394, allocations: 335.3 kB / 0.5901 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3394, allocations: 4.844 kB / 0.5901 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.3396, allocations: 52.67 kB / 0.5901 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3396, allocations: 5.438 kB / 0.5901 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.3396, allocations: 10.88 kB / 0.5901 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3396, allocations: 1.781 kB / 0.5901 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3396, allocations: 0 / 0.5901 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.3401, allocations: 327.7 kB / 0.5904 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.3402, allocations: 147.3 kB / 0.5906 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.3403, allocations: 5.641 kB / 0.5906 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.3404, allocations: 18.19 kB / 0.5906 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.3405, allocations: 21.5 kB / 0.5906 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.3405, allocations: 14.44 kB / 0.5906 GB, free: 14.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002009/0.3407, allocations: 235.5 kB / 0.5909 GB, free: 14.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3407, allocations: 0 / 0.5909 GB, free: 14.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.341, allocations: 56.52 kB / 0.5909 GB, free: 14.05 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.001426/0.3424, allocations: 1.157 MB / 0.592 GB, free: 13.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000463/0.3429, allocations: 304.7 kB / 0.5923 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3429, allocations: 0 / 0.5923 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.3431, allocations: 129.7 kB / 0.5925 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.3434, allocations: 36.84 kB / 0.5925 GB, free: 13.14 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.002592/0.346, allocations: 2.447 MB / 0.5949 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.3463, allocations: 0.756 MB / 0.5956 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003098/0.3466, allocations: 139 kB / 0.5958 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.3467, allocations: 92.7 kB / 0.5958 GB, free: 10.78 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3467, allocations: 0 / 0.5958 GB, free: 10.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4984/0.8451, allocations: 5.4 MB / 0.6011 GB, free: 8.371 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.952/7.797, allocations: 5.406 kB / 0.6011 GB, free: 8.371 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)