Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00461/0.00461, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001039/0.00104, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002026/0.002026, allocations: 301.3 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9457/0.9457, allocations: 169.2 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 99.84 kB / 0.6815 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3887, allocations: 86.97 MB / 0.7664 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00281/0.3916, allocations: 1.644 MB / 0.768 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.3934, allocations: 1.168 MB / 0.7691 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.663e-05/0.3935, allocations: 0 / 0.7691 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.3937, allocations: 35.83 kB / 0.7692 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.3941, allocations: 63.64 kB / 0.7692 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.3945, allocations: 127.7 kB / 0.7694 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003408/0.3948, allocations: 249.5 kB / 0.7696 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.395, allocations: 20.17 kB / 0.7696 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.3951, allocations: 75.88 kB / 0.7697 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.3954, allocations: 91.72 kB / 0.7698 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.317e-05/0.3955, allocations: 16 kB / 0.7698 GB, free: 456 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.3957, allocations: 75.97 kB / 0.7699 GB, free: 380 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.754e-05/0.3958, allocations: 75.75 kB / 0.7699 GB, free: 304 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.3959, allocations: 107.4 kB / 0.77 GB, free: 196 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004537/0.3964, allocations: 291 kB / 0.7703 GB, free: 15.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3964, allocations: 0 / 0.7703 GB, free: 15.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3964, allocations: 0 / 0.7703 GB, free: 15.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.3964, allocations: 0 / 0.7703 GB, free: 15.91 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000938/0.3974, allocations: 0.533 MB / 0.7708 GB, free: 15.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3974, allocations: 8.031 kB / 0.7708 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.3975, allocations: 28.66 kB / 0.7709 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.3979, allocations: 259.7 kB / 0.7711 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.3979, allocations: 16.38 kB / 0.7711 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/0.398, allocations: 20.36 kB / 0.7711 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.3985, allocations: 222 kB / 0.7714 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3985, allocations: 0 / 0.7714 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.3985, allocations: 7.984 kB / 0.7714 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.3985, allocations: 4 kB / 0.7714 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000912/0.3995, allocations: 0.741 MB / 0.7721 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008066/0.4003, allocations: 0.5669 MB / 0.7726 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/0.4008, allocations: 295.7 kB / 0.7729 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.4009, allocations: 105.3 kB / 0.773 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.228e-05/0.401, allocations: 20.25 kB / 0.7731 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003879/0.4014, allocations: 180.9 kB / 0.7732 GB, free: 12.74 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 3.637e-06/0.4014, allocations: 0 / 0.7732 GB, free: 12.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.000729/0.4021, allocations: 373.6 kB / 0.7736 GB, free: 12.37 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.747e-05/0.4022, allocations: 136.5 kB / 0.7737 GB, free: 12.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.4026, allocations: 300 kB / 0.774 GB, free: 11.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.4026, allocations: 33.7 kB / 0.774 GB, free: 11.86 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.534e-05/0.4027, allocations: 120.7 kB / 0.7741 GB, free: 11.74 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.266e-05/0.4028, allocations: 110.4 kB / 0.7742 GB, free: 11.63 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.183e-05/0.4029, allocations: 69.69 kB / 0.7743 GB, free: 11.56 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.403, allocations: 338.8 kB / 0.7746 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.4031, allocations: 79.95 kB / 0.7747 GB, free: 11.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.4033, allocations: 123.4 kB / 0.7748 GB, free: 11.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.4037, allocations: 218.9 kB / 0.775 GB, free: 10.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4037, allocations: 3.938 kB / 0.775 GB, free: 10.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004496/0.4041, allocations: 278.2 kB / 0.7753 GB, free: 10.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.4042, allocations: 8 kB / 0.7753 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4042, allocations: 0 / 0.7753 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.4042, allocations: 0 / 0.7753 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.4044, allocations: 63.91 kB / 0.7754 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4044, allocations: 4 kB / 0.7754 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.4046, allocations: 27.77 kB / 0.7754 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.4046, allocations: 15.98 kB / 0.7754 GB, free: 10.39 MB / 0.545 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.0001597/0.4048, allocations: 160.2 kB / 0.7756 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.4049, allocations: 31.62 kB / 0.7756 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006665/0.4055, allocations: 380.4 kB / 0.776 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.4056, allocations: 8 kB / 0.776 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4056, allocations: 0 / 0.776 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4056, allocations: 7.922 kB / 0.776 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.4059, allocations: 325.2 kB / 0.7763 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4059, allocations: 4 kB / 0.7763 GB, free: 9.438 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.4061, allocations: 55.97 kB / 0.7764 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.4061, allocations: 0 / 0.7764 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.4061, allocations: 15.92 kB / 0.7764 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.4061, allocations: 4 kB / 0.7764 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4061, allocations: 3.938 kB / 0.7764 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/0.4066, allocations: 319.1 kB / 0.7767 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.4067, allocations: 144.7 kB / 0.7768 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.4068, allocations: 7.984 kB / 0.7768 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.4069, allocations: 12 kB / 0.7768 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.407, allocations: 27.95 kB / 0.7769 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.407, allocations: 11.94 kB / 0.7769 GB, free: 8.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000194/0.4072, allocations: 233.8 kB / 0.7771 GB, free: 8.582 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4072, allocations: 4 kB / 0.7771 GB, free: 8.578 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002918/0.4075, allocations: 59.91 kB / 0.7772 GB, free: 8.52 MB / 0.545 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.0008776/0.4084, allocations: 402.7 kB / 0.7775 GB, free: 8.262 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004009/0.4088, allocations: 227.8 kB / 0.7778 GB, free: 8.039 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4088, allocations: 0 / 0.7778 GB, free: 8.039 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.409, allocations: 127.8 kB / 0.7779 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.4093, allocations: 33.59 kB / 0.7779 GB, free: 7.883 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007522/0.4101, allocations: 0.4971 MB / 0.7784 GB, free: 7.355 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.4104, allocations: 0.7652 MB / 0.7791 GB, free: 6.566 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003123/0.4107, allocations: 146.8 kB / 0.7793 GB, free: 6.426 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.4108, allocations: 43.36 kB / 0.7793 GB, free: 6.383 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.4108, allocations: 0 / 0.7793 GB, free: 6.383 MB / 0.545 GB Notification: Performance of Templates: time 0.006359/0.4172, allocations: 3.016 MB / 0.7823 GB, free: 3.402 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)