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.001668/0.001668, 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.001741/0.001741, allocations: 194.7 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 2.568/2.568, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.624/1.624, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00245/0.00245, allocations: 60.47 kB / 0.5054 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2422, allocations: 80.94 MB / 0.5845 GB, free: 4.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.005212/0.2475, allocations: 1.606 MB / 0.5861 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003235/0.2507, allocations: 1.156 MB / 0.5872 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.778e-05/0.2508, allocations: 0 / 0.5872 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.2512, allocations: 23.86 kB / 0.5872 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004902/0.2517, allocations: 75.67 kB / 0.5873 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007006/0.2524, allocations: 128.4 kB / 0.5874 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.2529, allocations: 225.6 kB / 0.5876 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.253, allocations: 20 kB / 0.5876 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.2532, allocations: 75.83 kB / 0.5877 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003527/0.2536, allocations: 87.7 kB / 0.5878 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.175e-05/0.2537, allocations: 19.94 kB / 0.5878 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.254, allocations: 87.95 kB / 0.5879 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.2542, allocations: 79.75 kB / 0.588 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.2544, allocations: 103.4 kB / 0.5881 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005651/0.255, allocations: 267.4 kB / 0.5883 GB, free: 472 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.255, allocations: 0 / 0.5883 GB, free: 472 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.255, allocations: 0 / 0.5883 GB, free: 472 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.2551, allocations: 4 kB / 0.5883 GB, free: 468 kB / 494.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.001218/0.2563, allocations: 0.5345 MB / 0.5889 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.2563, allocations: 12.03 kB / 0.5889 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.932e-05/0.2564, allocations: 46.73 kB / 0.5889 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.2566, allocations: 24.66 kB / 0.5889 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.2571, allocations: 263.8 kB / 0.5892 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.2571, allocations: 12.31 kB / 0.5892 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.288e-05/0.2572, allocations: 12.38 kB / 0.5892 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006142/0.2578, allocations: 216.8 kB / 0.5894 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.2579, allocations: 0 / 0.5894 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.891e-05/0.2579, allocations: 4 kB / 0.5894 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.2579, allocations: 4 kB / 0.5894 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/0.2597, allocations: 0.7411 MB / 0.5901 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.2612, allocations: 0.5707 MB / 0.5907 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006963/0.2619, allocations: 296.9 kB / 0.591 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.2622, allocations: 101.4 kB / 0.5911 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.053e-05/0.2622, allocations: 20.25 kB / 0.5911 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004739/0.2627, allocations: 180.9 kB / 0.5913 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.304e-06/0.2627, allocations: 0 / 0.5913 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.001208/0.2639, allocations: 365.7 kB / 0.5916 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.2641, allocations: 136.5 kB / 0.5918 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000515/0.2646, allocations: 297.4 kB / 0.592 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/0.2647, allocations: 29.7 kB / 0.5921 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.2649, allocations: 124.7 kB / 0.5922 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.265, allocations: 118.4 kB / 0.5923 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.2652, allocations: 61.69 kB / 0.5924 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.2655, allocations: 346.8 kB / 0.5927 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.2658, allocations: 79.95 kB / 0.5928 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.2662, allocations: 120.9 kB / 0.5929 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006795/0.2669, allocations: 222.5 kB / 0.5931 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2669, allocations: 0 / 0.5931 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009014/0.2678, allocations: 277 kB / 0.5934 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.2678, allocations: 4 kB / 0.5934 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.2679, allocations: 8 kB / 0.5934 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2679, allocations: 0 / 0.5934 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.2683, allocations: 63.84 kB / 0.5934 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.2684, allocations: 0 / 0.5934 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.2686, allocations: 31.86 kB / 0.5935 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.2687, allocations: 15.92 kB / 0.5935 GB, free: 10.9 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.0002707/0.269, allocations: 161.8 kB / 0.5936 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.2691, allocations: 23.72 kB / 0.5937 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.2704, allocations: 376.5 kB / 0.594 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.2705, allocations: 7.938 kB / 0.594 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2705, allocations: 0 / 0.594 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.2705, allocations: 3.984 kB / 0.594 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005552/0.2711, allocations: 333.2 kB / 0.5943 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2711, allocations: 0 / 0.5943 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.2715, allocations: 59.91 kB / 0.5944 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.2715, allocations: 0 / 0.5944 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/0.2716, allocations: 23.98 kB / 0.5944 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.2716, allocations: 0 / 0.5944 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2716, allocations: 0 / 0.5944 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009456/0.2726, allocations: 327 kB / 0.5947 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.2728, allocations: 140.6 kB / 0.5949 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.642e-05/0.2729, allocations: 8 kB / 0.5949 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.2732, allocations: 11.98 kB / 0.5949 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.2733, allocations: 31.95 kB / 0.5949 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-05/0.2734, allocations: 12 kB / 0.5949 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003722/0.2738, allocations: 237.5 kB / 0.5952 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.91e-07/0.2738, allocations: 0 / 0.5952 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005876/0.2744, allocations: 56 kB / 0.5952 GB, free: 9.023 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.00294/0.2774, allocations: 1.153 MB / 0.5963 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.2784, allocations: 295.7 kB / 0.5966 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.076e-06/0.2784, allocations: 4 kB / 0.5966 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004027/0.2788, allocations: 128.4 kB / 0.5967 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/0.2793, allocations: 32.66 kB / 0.5968 GB, free: 7.562 MB / 0.4981 GB 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.005118/0.2845, allocations: 2.454 MB / 0.5992 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005012/0.285, allocations: 0.754 MB / 0.5999 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006547/0.2857, allocations: 146.9 kB / 0.6 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.2859, allocations: 87.39 kB / 0.6001 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of SimCode: time 8.62e-07/0.286, allocations: 0 / 0.6001 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.512/1.798, allocations: 5.378 MB / 0.6054 GB, free: 51.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.28/17.08, allocations: 6.281 kB / 0.6054 GB, free: 51.99 MB / 0.4981 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)