Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_9_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.0008574/0.0008575, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005021/0.005021, allocations: 173.1 kB / 16.27 MB, free: 6.652 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.185/1.185, allocations: 223.3 MB / 240.3 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.067/2.067, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002967, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5226/0.5229, allocations: 142.4 MB / 0.9552 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.001437/0.5244, allocations: 1.347 MB / 0.9565 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.5256, allocations: 1.13 MB / 0.9576 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.5257, allocations: 4 kB / 0.9576 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.5258, allocations: 22.8 kB / 0.9576 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.526, allocations: 52.11 kB / 0.9577 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.5263, allocations: 124.2 kB / 0.9578 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.5265, allocations: 209.3 kB / 0.958 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.686e-05/0.5266, allocations: 24.23 kB / 0.958 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.065e-05/0.5266, allocations: 62.83 kB / 0.9581 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.5268, allocations: 91.83 kB / 0.9581 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.5269, allocations: 7.5 kB / 0.9582 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.527, allocations: 62.77 kB / 0.9582 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.017e-05/0.527, allocations: 74.23 kB / 0.9583 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.9e-05/0.5271, allocations: 121.7 kB / 0.9584 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.5274, allocations: 264.4 kB / 0.9587 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5274, allocations: 1.281 kB / 0.9587 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5274, allocations: 0 / 0.9587 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.5274, allocations: 4 kB / 0.9587 GB, free: 5.105 MB / 0.7169 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.0005184/0.5279, allocations: 498.6 kB / 0.9591 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.528, allocations: 9.406 kB / 0.9591 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.628e-05/0.528, allocations: 48.8 kB / 0.9592 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.5281, allocations: 25.53 kB / 0.9592 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.5283, allocations: 272.6 kB / 0.9595 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.5283, allocations: 17.81 kB / 0.9595 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.5283, allocations: 15.38 kB / 0.9595 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.5286, allocations: 220.3 kB / 0.9597 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.5286, allocations: 0 / 0.9597 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.5286, allocations: 6.75 kB / 0.9597 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.5286, allocations: 4.125 kB / 0.9597 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006884/0.5293, allocations: 0.746 MB / 0.9605 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/0.53, allocations: 0.5619 MB / 0.961 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.5304, allocations: 302.3 kB / 0.9613 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.5305, allocations: 103.2 kB / 0.9614 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.5306, allocations: 20.98 kB / 0.9614 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002588/0.5308, allocations: 176.8 kB / 0.9616 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.5308, allocations: 0 / 0.9616 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0005403/0.5314, allocations: 371.3 kB / 0.9619 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.5314, allocations: 136.4 kB / 0.9621 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.5317, allocations: 304.2 kB / 0.9624 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.5317, allocations: 32.27 kB / 0.9624 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.5317, allocations: 121.7 kB / 0.9625 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.026e-05/0.5318, allocations: 108.9 kB / 0.9626 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.5318, allocations: 34.3 kB / 0.9626 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.5319, allocations: 338.5 kB / 0.963 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.532, allocations: 79.17 kB / 0.963 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.5322, allocations: 123.9 kB / 0.9632 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.5324, allocations: 212.5 kB / 0.9634 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5324, allocations: 1.062 kB / 0.9634 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003293/0.5328, allocations: 287 kB / 0.9636 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.5328, allocations: 10.72 kB / 0.9636 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.5328, allocations: 0 / 0.9636 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.5328, allocations: 0 / 0.9636 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.533, allocations: 64.41 kB / 0.9637 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.533, allocations: 1.5 kB / 0.9637 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.5332, allocations: 31.5 kB / 0.9637 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.5332, allocations: 8.125 kB / 0.9637 GB, free: 1.391 MB / 0.7169 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.0001131/0.5333, allocations: 164.7 kB / 0.9639 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.5333, allocations: 36.17 kB / 0.9639 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005632/0.5339, allocations: 380.5 kB / 0.9643 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.5339, allocations: 3.562 kB / 0.9643 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5339, allocations: 0.9688 kB / 0.9643 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5339, allocations: 3.938 kB / 0.9643 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.5342, allocations: 332.1 kB / 0.9646 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5342, allocations: 0 / 0.9646 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.5343, allocations: 65.09 kB / 0.9647 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5343, allocations: 2.125 kB / 0.9647 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.5344, allocations: 11.94 kB / 0.9647 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5344, allocations: 1.625 kB / 0.9647 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5344, allocations: 0 / 0.9647 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004535/0.5348, allocations: 329.2 kB / 0.965 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.535, allocations: 146.4 kB / 0.9652 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.535, allocations: 7 kB / 0.9652 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.5352, allocations: 19.86 kB / 0.9652 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.5352, allocations: 32.27 kB / 0.9652 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.5353, allocations: 9.156 kB / 0.9652 GB, free: 308 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002175/0.5355, allocations: 236.4 kB / 0.9654 GB, free: 156 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5355, allocations: 0 / 0.9654 GB, free: 156 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002884/0.5358, allocations: 60.38 kB / 0.9655 GB, free: 140 kB / 0.7169 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.001694/0.5375, allocations: 1.159 MB / 0.9666 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004219/0.5379, allocations: 228.5 kB / 0.9669 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5379, allocations: 0 / 0.9669 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.5381, allocations: 131 kB / 0.967 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.5384, allocations: 32.61 kB / 0.967 GB, free: 15.15 MB / 0.7325 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.002709/0.5411, allocations: 2.525 MB / 0.9695 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.5414, allocations: 0.7547 MB / 0.9702 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002892/0.5417, allocations: 150.5 kB / 0.9704 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.5418, allocations: 93.64 kB / 0.9704 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.5418, allocations: 0 / 0.9704 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4148/0.9566, allocations: 4.993 MB / 0.9753 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/0.9569, allocations: 266.6 kB / 0.9756 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.678, allocations: 0 / 0.9756 GB, free: 9.75 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)