Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_10_Buildings_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.004644/0.004644, allocations: 95.23 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.001372/0.001372, allocations: 205.9 kB / 16.68 MB, free: 5.973 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.336/2.336, allocations: 437.1 MB / 0.7106 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 59.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2358, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002569/0.2384, allocations: 1.636 MB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.2399, allocations: 1.168 MB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.24, allocations: 4 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.2401, allocations: 27.84 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.2404, allocations: 59.64 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.2407, allocations: 139.5 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000249/0.241, allocations: 237.5 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.523e-05/0.2411, allocations: 24.5 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.03e-05/0.2412, allocations: 71.89 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.2413, allocations: 95.7 kB / 1.17 GB, free: 3.844 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.2414, allocations: 16 kB / 1.17 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.2415, allocations: 75.97 kB / 1.17 GB, free: 3.754 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.04e-05/0.2416, allocations: 79.75 kB / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.898e-05/0.2417, allocations: 103.4 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.242, allocations: 294.6 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2421, allocations: 4 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2421, allocations: 0 / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.2421, allocations: 0 / 1.17 GB, free: 3.281 MB / 0.92 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.0006652/0.2428, allocations: 0.538 MB / 1.171 GB, free: 2.695 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.2428, allocations: 8.031 kB / 1.171 GB, free: 2.688 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.426e-05/0.2428, allocations: 54.73 kB / 1.171 GB, free: 2.625 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.887e-05/0.2429, allocations: 28.8 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.2432, allocations: 267.8 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.2432, allocations: 12.38 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.2432, allocations: 16.38 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.2435, allocations: 220.6 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2436, allocations: 0 / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.2436, allocations: 11.98 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2436, allocations: 4 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008204/0.2444, allocations: 0.7373 MB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007125/0.2451, allocations: 0.5747 MB / 1.173 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004441/0.2456, allocations: 300.1 kB / 1.173 GB, free: 360 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.2458, allocations: 101.4 kB / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/0.2458, allocations: 20.23 kB / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002873/0.2461, allocations: 184.8 kB / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of pre-optimization done (n=34): time 2.605e-06/0.2461, allocations: 0 / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of matching and sorting (n=34): time 0.0006107/0.2467, allocations: 369.3 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.87e-05/0.2468, allocations: 136.5 kB / 1.174 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.2471, allocations: 304 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.2471, allocations: 29.7 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.044e-05/0.2472, allocations: 120.7 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.587e-05/0.2473, allocations: 115 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.254e-05/0.2474, allocations: 69.67 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2475, allocations: 338.8 kB / 1.175 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.2477, allocations: 79.95 kB / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.2479, allocations: 132.4 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.2482, allocations: 213.2 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2482, allocations: 0 / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004027/0.2486, allocations: 277.1 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2486, allocations: 8 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2486, allocations: 4 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.2486, allocations: 0 / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.2488, allocations: 63.91 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2488, allocations: 0 / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.249, allocations: 31.75 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.249, allocations: 16 kB / 1.175 GB, free: 13.68 MB / 0.9356 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.0001367/0.2491, allocations: 157.7 kB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.2492, allocations: 27.81 kB / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006152/0.2498, allocations: 385.5 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2498, allocations: 12 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2498, allocations: 0 / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2499, allocations: 11.92 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.2502, allocations: 325.3 kB / 1.176 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2502, allocations: 0 / 1.176 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.2503, allocations: 63.91 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.2503, allocations: 0 / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.2504, allocations: 11.94 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.2504, allocations: 3.984 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2504, allocations: 0 / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004342/0.2508, allocations: 317.9 kB / 1.177 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.2509, allocations: 140.8 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.251, allocations: 8 kB / 1.177 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.2511, allocations: 11.98 kB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.2512, allocations: 31.91 kB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.2512, allocations: 11.98 kB / 1.177 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001936/0.2514, allocations: 233.6 kB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2514, allocations: 0 / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000249/0.2517, allocations: 67.88 kB / 1.177 GB, free: 11.8 MB / 0.9356 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.001816/0.2535, allocations: 1.16 MB / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003636/0.2538, allocations: 231.9 kB / 1.178 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2539, allocations: 0 / 1.178 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.254, allocations: 123.8 kB / 1.179 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.2543, allocations: 44.53 kB / 1.179 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.2568, allocations: 2.454 MB / 1.181 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.2572, allocations: 0.754 MB / 1.182 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000284/0.2575, allocations: 142.9 kB / 1.182 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.2576, allocations: 99.39 kB / 1.182 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.2576, allocations: 0 / 1.182 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.035/6.293, allocations: 5.483 MB / 1.187 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.03/25.32, allocations: 11.09 kB / 1.187 GB, free: 1.461 MB / 0.9356 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)