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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 172.8 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.212/1.212, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.656/2.656, allocations: 221.3 MB / 400.4 MB, free: 5.848 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 95.83 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001295/0.0001297, allocations: 3 kB / 0.5601 GB, free: 87.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2896, allocations: 82.31 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.165/1.455, allocations: 114.8 MB / 0.7527 GB, free: 12 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004036/1.455, allocations: 85.3 kB / 0.7528 GB, free: 12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0286/1.484, allocations: 8.043 MB / 0.7606 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.285e-06/1.484, allocations: 0 / 0.7606 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.173e-05/1.484, allocations: 3.781 kB / 0.7606 GB, free: 25.83 MB / 0.5105 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.001241/1.485, allocations: 486 kB / 0.7611 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.935e-05/1.485, allocations: 7.531 kB / 0.7611 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/1.485, allocations: 51.14 kB / 0.7611 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/1.485, allocations: 27.16 kB / 0.7612 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/1.486, allocations: 278.8 kB / 0.7614 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/1.486, allocations: 7.031 kB / 0.7614 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/1.486, allocations: 17.56 kB / 0.7614 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005282/1.487, allocations: 210.3 kB / 0.7616 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/1.487, allocations: 0 / 0.7616 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/1.487, allocations: 2.812 kB / 0.7616 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/1.487, allocations: 7.609 kB / 0.7617 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/1.488, allocations: 0.7341 MB / 0.7624 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/1.489, allocations: 0.5547 MB / 0.7629 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006481/1.49, allocations: 301 kB / 0.7632 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/1.49, allocations: 98.12 kB / 0.7633 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.562e-05/1.49, allocations: 23.19 kB / 0.7633 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000411/1.491, allocations: 170.6 kB / 0.7635 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 2.825e-06/1.491, allocations: 4 kB / 0.7635 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=34): time 0.0007624/1.492, allocations: 278.1 kB / 0.7637 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/1.492, allocations: 140 kB / 0.7639 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004711/1.492, allocations: 252.4 kB / 0.7641 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.534e-05/1.492, allocations: 36.45 kB / 0.7642 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/1.492, allocations: 116.5 kB / 0.7643 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/1.492, allocations: 123.1 kB / 0.7644 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/1.493, allocations: 6.938 kB / 0.7644 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002461/1.493, allocations: 341.2 kB / 0.7647 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/1.493, allocations: 71.08 kB / 0.7648 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/1.493, allocations: 132.6 kB / 0.7649 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/1.493, allocations: 98.25 kB / 0.765 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.494, allocations: 0 / 0.765 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006618/1.494, allocations: 270.2 kB / 0.7653 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/1.494, allocations: 3.844 kB / 0.7653 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/1.494, allocations: 7.938 kB / 0.7653 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/1.494, allocations: 3.812 kB / 0.7653 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/1.495, allocations: 62 kB / 0.7653 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.94e-05/1.495, allocations: 3.844 kB / 0.7653 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/1.495, allocations: 27.34 kB / 0.7654 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/1.495, allocations: 15.67 kB / 0.7654 GB, free: 23.1 MB / 0.5105 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001825/1.495, allocations: 121.4 kB / 0.7655 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-05/1.495, allocations: 23.25 kB / 0.7655 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/1.496, allocations: 387.7 kB / 0.7659 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/1.496, allocations: 3.844 kB / 0.7659 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.496, allocations: 0 / 0.7659 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/1.496, allocations: 0 / 0.7659 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000545/1.497, allocations: 339.3 kB / 0.7662 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.497, allocations: 0 / 0.7662 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/1.497, allocations: 61.31 kB / 0.7663 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/1.497, allocations: 7.719 kB / 0.7663 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/1.497, allocations: 10.86 kB / 0.7663 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/1.497, allocations: 0 / 0.7663 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.497, allocations: 0 / 0.7663 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007098/1.498, allocations: 323.1 kB / 0.7666 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/1.498, allocations: 152.6 kB / 0.7667 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/1.498, allocations: 11.08 kB / 0.7668 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/1.499, allocations: 18.12 kB / 0.7668 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.952e-05/1.499, allocations: 27.05 kB / 0.7668 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/1.499, allocations: 10.5 kB / 0.7668 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000382/1.499, allocations: 216.2 kB / 0.767 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.01e-07/1.499, allocations: 0 / 0.767 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005541/1.5, allocations: 69.19 kB / 0.7671 GB, free: 22.2 MB / 0.5105 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002864/1.503, allocations: 1.127 MB / 0.7682 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006176/1.503, allocations: 227.4 kB / 0.7684 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.503, allocations: 0 / 0.7684 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002535/1.504, allocations: 123.6 kB / 0.7685 GB, free: 21.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/1.504, allocations: 26.19 kB / 0.7685 GB, free: 21.39 MB / 0.5105 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos")) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/1.505, allocations: 484.5 kB / 0.769 GB, free: 21.17 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005832/1.506, allocations: 0.7537 MB / 0.7697 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004929/1.506, allocations: 152 kB / 0.7699 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/1.507, allocations: 97.36 kB / 0.77 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of SimCode: time 1.263e-06/1.507, allocations: 0 / 0.77 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6349/2.142, allocations: 5.473 MB / 0.7753 GB, free: 16.81 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003201/2.142, allocations: 204.9 kB / 0.7755 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.318/5.46, allocations: 8.062 kB / 0.7755 GB, free: 16.58 MB / 0.5105 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/linux/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)