Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.EquationOfTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.0009808/0.0009808, allocations: 101.7 kB / 16.4 MB, free: 6.496 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.001094/0.001095, allocations: 193.2 kB / 17.34 MB, free: 5.77 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.198/1.198, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.663/0.663, allocations: 115.3 MB / 406.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 66.45 kB / 0.5572 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1259, allocations: 76.18 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.0024/0.1284, allocations: 1.427 MB / 0.633 GB, free: 3.48 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008301/0.1292, allocations: 0.5103 MB / 0.6335 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.1293, allocations: 0 / 0.6335 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.1293, allocations: 0 / 0.6335 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.1295, allocations: 23.8 kB / 0.6335 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001141/0.1297, allocations: 23.91 kB / 0.6335 GB, free: 2.918 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.922e-05/0.1298, allocations: 59.83 kB / 0.6336 GB, free: 2.859 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.151e-05/0.1298, allocations: 8 kB / 0.6336 GB, free: 2.852 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.671e-05/0.1299, allocations: 23.92 kB / 0.6336 GB, free: 2.828 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.13, allocations: 27.89 kB / 0.6337 GB, free: 2.801 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.13, allocations: 4 kB / 0.6337 GB, free: 2.797 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.1301, allocations: 4 kB / 0.6337 GB, free: 2.793 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.1301, allocations: 12 kB / 0.6337 GB, free: 2.781 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.331e-05/0.1301, allocations: 19.86 kB / 0.6337 GB, free: 2.762 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.242e-05/0.1302, allocations: 50.61 kB / 0.6337 GB, free: 2.715 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1303, allocations: 0 / 0.6337 GB, free: 2.715 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1303, allocations: 0 / 0.6337 GB, free: 2.715 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.1303, allocations: 4 kB / 0.6337 GB, free: 2.711 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005266/0.1308, allocations: 352.2 kB / 0.6341 GB, free: 2.32 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1308, allocations: 8.031 kB / 0.6341 GB, free: 2.312 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.1309, allocations: 38.73 kB / 0.6341 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.1309, allocations: 0.9375 kB / 0.6341 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.131, allocations: 168.3 kB / 0.6343 GB, free: 2.062 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1311, allocations: 4.375 kB / 0.6343 GB, free: 2.059 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.1311, allocations: 8.375 kB / 0.6343 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.1312, allocations: 65.77 kB / 0.6344 GB, free: 1.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1312, allocations: 0 / 0.6344 GB, free: 1.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1312, allocations: 3.938 kB / 0.6344 GB, free: 1.977 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1312, allocations: 0 / 0.6344 GB, free: 1.977 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.166e-05/0.1313, allocations: 23.98 kB / 0.6344 GB, free: 1.953 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.1317, allocations: 272.8 kB / 0.6346 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.1319, allocations: 70.61 kB / 0.6347 GB, free: 1.559 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.214e-05/0.1319, allocations: 20.86 kB / 0.6347 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.132, allocations: 4 kB / 0.6347 GB, free: 1.531 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.1321, allocations: 67.38 kB / 0.6348 GB, free: 1.453 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1321, allocations: 0 / 0.6348 GB, free: 1.453 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002321/0.1324, allocations: 93.77 kB / 0.6349 GB, free: 1.355 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.1324, allocations: 63.33 kB / 0.6349 GB, free: 1.281 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.737e-05/0.1325, allocations: 101.9 kB / 0.635 GB, free: 1.172 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.1325, allocations: 25.7 kB / 0.6351 GB, free: 1.141 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.1325, allocations: 80.14 kB / 0.6351 GB, free: 1.059 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.1326, allocations: 23.73 kB / 0.6352 GB, free: 1.035 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.1326, allocations: 17.72 kB / 0.6352 GB, free: 1.012 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1327, allocations: 322.8 kB / 0.6355 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.52e-05/0.1327, allocations: 20 kB / 0.6355 GB, free: 0.668 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.965e-05/0.1328, allocations: 19.98 kB / 0.6355 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.373e-05/0.1329, allocations: 36.86 kB / 0.6356 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1329, allocations: 0 / 0.6356 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001114/0.133, allocations: 85.52 kB / 0.6356 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.133, allocations: 6.031 kB / 0.6357 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.133, allocations: 0 / 0.6357 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.133, allocations: 0 / 0.6357 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.215e-05/0.1331, allocations: 11.98 kB / 0.6357 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1331, allocations: 4 kB / 0.6357 GB, free: 0.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.439e-05/0.1332, allocations: 4 kB / 0.6357 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.1332, allocations: 8 kB / 0.6357 GB, free: 500 kB / 478.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 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.717e-05/0.1333, allocations: 110 kB / 0.6358 GB, free: 380 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.1333, allocations: 4 kB / 0.6358 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.1335, allocations: 109.5 kB / 0.6359 GB, free: 256 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1335, allocations: 0 / 0.6359 GB, free: 256 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1335, allocations: 0 / 0.6359 GB, free: 256 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.1335, allocations: 3.984 kB / 0.6359 GB, free: 252 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.1336, allocations: 189.4 kB / 0.6361 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1337, allocations: 0 / 0.6361 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.276e-05/0.1337, allocations: 16.03 kB / 0.6361 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1337, allocations: 0 / 0.6361 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1338, allocations: 3.938 kB / 0.6361 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1338, allocations: 0 / 0.6361 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1338, allocations: 0 / 0.6361 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.1339, allocations: 120.9 kB / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.134, allocations: 81.02 kB / 0.6363 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.134, allocations: 11.98 kB / 0.6363 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.403e-05/0.1341, allocations: 4.188 kB / 0.6363 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.1341, allocations: 7.984 kB / 0.6363 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.1341, allocations: 7.938 kB / 0.6363 GB, free: 15.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.471e-05/0.1342, allocations: 83.28 kB / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1342, allocations: 0 / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001856/0.1344, allocations: 8 kB / 0.6364 GB, free: 15.64 MB / 494.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,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.0003914/0.1348, allocations: 0.6592 MB / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.1349, allocations: 47.92 kB / 0.6371 GB, free: 14.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1349, allocations: 0 / 0.6371 GB, free: 14.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.758e-05/0.135, allocations: 31.98 kB / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.1351, allocations: 8 kB / 0.6371 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.1362, allocations: 1.237 MB / 0.6383 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.1364, allocations: 0.6846 MB / 0.639 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.802e-05/0.1365, allocations: 4 kB / 0.639 GB, free: 12.83 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.1365, allocations: 19.42 kB / 0.639 GB, free: 12.81 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1365, allocations: 0 / 0.639 GB, free: 12.81 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.153, allocations: 1.694 MB / 0.6407 GB, free: 11.26 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.725/6.878, allocations: 4.062 kB / 0.6407 GB, free: 11.26 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)