Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IBPSA_latest_IBPSA_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.001145/0.001145, allocations: 100.1 kB / 15.88 MB, free: 12 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.001086/0.001086, allocations: 205.8 kB / 16.79 MB, free: 6.84 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.172/1.172, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6163/0.6163, allocations: 115.3 MB / 405.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 60.44 kB / 493 MB, free: 6.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1149, allocations: 76.19 MB / 0.5559 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002593/0.1176, allocations: 1.675 MB / 0.5575 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.119, allocations: 1.148 MB / 0.5586 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.888e-05/0.1191, allocations: 0 / 0.5586 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.1193, allocations: 23.92 kB / 0.5586 GB, free: 7.898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.1195, allocations: 51.77 kB / 0.5587 GB, free: 7.848 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.1198, allocations: 122.6 kB / 0.5588 GB, free: 7.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.12, allocations: 205.7 kB / 0.559 GB, free: 7.531 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.657e-05/0.1201, allocations: 28.16 kB / 0.559 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.671e-05/0.1202, allocations: 63.88 kB / 0.5591 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.1204, allocations: 91.64 kB / 0.5592 GB, free: 7.348 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.1204, allocations: 12 kB / 0.5592 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.1206, allocations: 67.98 kB / 0.5592 GB, free: 7.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.839e-05/0.1207, allocations: 71.8 kB / 0.5593 GB, free: 7.199 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.903e-05/0.1208, allocations: 99.39 kB / 0.5594 GB, free: 7.102 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.1211, allocations: 275.3 kB / 0.5597 GB, free: 6.832 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1211, allocations: 0 / 0.5597 GB, free: 6.832 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.82e-07/0.1211, allocations: 0 / 0.5597 GB, free: 6.832 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1211, allocations: 0 / 0.5597 GB, free: 6.832 MB / 430.1 MB 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.0006743/0.1218, allocations: 0.5345 MB / 0.5602 GB, free: 6.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1218, allocations: 8.031 kB / 0.5602 GB, free: 6.242 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.921e-05/0.1219, allocations: 54.73 kB / 0.5603 GB, free: 6.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.116e-05/0.1219, allocations: 24.66 kB / 0.5603 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.1222, allocations: 259.8 kB / 0.5605 GB, free: 5.863 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1222, allocations: 16.38 kB / 0.5605 GB, free: 5.848 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.1222, allocations: 12.38 kB / 0.5606 GB, free: 5.836 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.1226, allocations: 216.7 kB / 0.5608 GB, free: 5.605 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.1226, allocations: 3.938 kB / 0.5608 GB, free: 5.602 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.1226, allocations: 11.98 kB / 0.5608 GB, free: 5.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1226, allocations: 4 kB / 0.5608 GB, free: 5.586 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007856/0.1234, allocations: 0.7295 MB / 0.5615 GB, free: 4.855 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007192/0.1241, allocations: 0.5783 MB / 0.5621 GB, free: 4.223 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.1246, allocations: 303.5 kB / 0.5623 GB, free: 3.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.1247, allocations: 101.4 kB / 0.5624 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.1248, allocations: 20.25 kB / 0.5625 GB, free: 3.797 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002849/0.1251, allocations: 176.9 kB / 0.5626 GB, free: 3.613 MB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/0.1251, allocations: 0 / 0.5626 GB, free: 3.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006536/0.1257, allocations: 377 kB / 0.563 GB, free: 3.238 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.1258, allocations: 132.5 kB / 0.5631 GB, free: 3.078 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.1261, allocations: 301.7 kB / 0.5634 GB, free: 2.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.1261, allocations: 29.7 kB / 0.5634 GB, free: 2.734 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.398e-05/0.1262, allocations: 132.8 kB / 0.5636 GB, free: 2.602 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.256e-05/0.1263, allocations: 110.4 kB / 0.5637 GB, free: 2.492 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/0.1264, allocations: 61.69 kB / 0.5637 GB, free: 2.426 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1265, allocations: 338.8 kB / 0.564 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.1266, allocations: 79.95 kB / 0.5641 GB, free: 2.008 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.1268, allocations: 119.4 kB / 0.5642 GB, free: 1.879 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003027/0.1271, allocations: 218.7 kB / 0.5644 GB, free: 1.664 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1271, allocations: 7.938 kB / 0.5645 GB, free: 1.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004025/0.1275, allocations: 271 kB / 0.5647 GB, free: 1.387 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1275, allocations: 8 kB / 0.5647 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1276, allocations: 0 / 0.5647 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.1276, allocations: 0 / 0.5647 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.1278, allocations: 63.91 kB / 0.5648 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1278, allocations: 3.984 kB / 0.5648 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.1279, allocations: 33.55 kB / 0.5648 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.128, allocations: 11.98 kB / 0.5648 GB, free: 1.27 MB / 430.1 MB 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.0001284/0.1281, allocations: 161.8 kB / 0.565 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.1282, allocations: 31.62 kB / 0.565 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006041/0.1288, allocations: 376.5 kB / 0.5654 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1288, allocations: 0 / 0.5654 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1288, allocations: 8 kB / 0.5654 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1288, allocations: 7.922 kB / 0.5654 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.1291, allocations: 325.3 kB / 0.5657 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1291, allocations: 0 / 0.5657 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.1293, allocations: 59.91 kB / 0.5658 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1293, allocations: 0 / 0.5658 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.1293, allocations: 15.92 kB / 0.5658 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.1293, allocations: 4 kB / 0.5658 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1293, allocations: 0 / 0.5658 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.1298, allocations: 327.1 kB / 0.5661 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.1299, allocations: 144.7 kB / 0.5662 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.1299, allocations: 8 kB / 0.5662 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.1301, allocations: 19.92 kB / 0.5662 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.1301, allocations: 23.91 kB / 0.5663 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.1302, allocations: 12 kB / 0.5663 GB, free: 15.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001897/0.1304, allocations: 237.6 kB / 0.5665 GB, free: 15.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1304, allocations: 0 / 0.5665 GB, free: 15.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1306, allocations: 59.91 kB / 0.5666 GB, free: 15.39 MB / 446.1 MB 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.001395/0.132, allocations: 1.163 MB / 0.5677 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003465/0.1324, allocations: 227.9 kB / 0.5679 GB, free: 14.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1324, allocations: 0 / 0.5679 GB, free: 14.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.1326, allocations: 132.3 kB / 0.568 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.1328, allocations: 36.59 kB / 0.5681 GB, free: 13.96 MB / 446.1 MB 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.002608/0.1355, allocations: 2.509 MB / 0.5705 GB, free: 11.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.1357, allocations: 0.7574 MB / 0.5713 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00029/0.136, allocations: 138.9 kB / 0.5714 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.1362, allocations: 99.33 kB / 0.5715 GB, free: 10.36 MB / 446.1 MB Notification: Performance of SimCode: time 1.693e-06/0.1362, allocations: 0 / 0.5715 GB, free: 10.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2692/0.4054, allocations: 5.215 MB / 0.5766 GB, free: 5.316 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002504/0.4057, allocations: 285.1 kB / 0.5769 GB, free: 4.945 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/2.079, allocations: 0 / 0.5769 GB, free: 4.945 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)