Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.0009833/0.0009833, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.001009/0.001009, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.216/1.216, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6676/0.6676, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 63.44 kB / 0.5572 GB, free: 32.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1162, allocations: 76.18 MB / 0.6316 GB, free: 5.012 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002683/0.1189, allocations: 1.581 MB / 0.6331 GB, free: 3.418 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009205/0.1199, allocations: 0.5415 MB / 0.6337 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.1199, allocations: 0 / 0.6337 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.12, allocations: 7.922 kB / 0.6337 GB, free: 2.863 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.1202, allocations: 43.7 kB / 0.6337 GB, free: 2.82 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.1204, allocations: 35.94 kB / 0.6338 GB, free: 2.785 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.1206, allocations: 111.6 kB / 0.6339 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1207, allocations: 23.86 kB / 0.6339 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.1208, allocations: 51.83 kB / 0.6339 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.1209, allocations: 51.77 kB / 0.634 GB, free: 2.551 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.121, allocations: 12 kB / 0.634 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.912e-05/0.121, allocations: 8 kB / 0.634 GB, free: 2.531 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.508e-05/0.121, allocations: 19.91 kB / 0.634 GB, free: 2.512 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.1212, allocations: 47.8 kB / 0.6341 GB, free: 2.465 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.1213, allocations: 99.05 kB / 0.6342 GB, free: 2.371 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1213, allocations: 3.938 kB / 0.6342 GB, free: 2.367 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1213, allocations: 0 / 0.6342 GB, free: 2.367 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1214, allocations: 0 / 0.6342 GB, free: 2.367 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007495/0.1221, allocations: 395.5 kB / 0.6345 GB, free: 1.934 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1222, allocations: 16.03 kB / 0.6346 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.778e-05/0.1222, allocations: 34.75 kB / 0.6346 GB, free: 1.875 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.1222, allocations: 20.73 kB / 0.6346 GB, free: 1.855 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.1224, allocations: 172.3 kB / 0.6348 GB, free: 1.648 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.1224, allocations: 8.375 kB / 0.6348 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.1224, allocations: 4.375 kB / 0.6348 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.1226, allocations: 97.64 kB / 0.6349 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1226, allocations: 0 / 0.6349 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1226, allocations: 0 / 0.6349 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.1227, allocations: 4 kB / 0.6349 GB, free: 1.531 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1228, allocations: 51.97 kB / 0.6349 GB, free: 1.48 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.1232, allocations: 344.6 kB / 0.6353 GB, free: 1.094 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.1235, allocations: 102.7 kB / 0.6354 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.505e-05/0.1236, allocations: 44.83 kB / 0.6354 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.1236, allocations: 4 kB / 0.6354 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.1238, allocations: 107.1 kB / 0.6355 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.1239, allocations: 0 / 0.6355 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002975/0.1242, allocations: 145.5 kB / 0.6356 GB, free: 0.668 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.1242, allocations: 51.41 kB / 0.6357 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.665e-05/0.1243, allocations: 125.8 kB / 0.6358 GB, free: 484 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1243, allocations: 33.69 kB / 0.6358 GB, free: 444 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1245, allocations: 92.38 kB / 0.6359 GB, free: 344 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.1245, allocations: 39.67 kB / 0.636 GB, free: 304 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/0.1246, allocations: 29.7 kB / 0.636 GB, free: 268 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1247, allocations: 310.8 kB / 0.6363 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.1249, allocations: 31.98 kB / 0.6363 GB, free: 15.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.05e-05/0.1249, allocations: 34.92 kB / 0.6364 GB, free: 15.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.1251, allocations: 68.72 kB / 0.6364 GB, free: 15.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1251, allocations: 0 / 0.6364 GB, free: 15.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00017/0.1252, allocations: 117.6 kB / 0.6365 GB, free: 15.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.639e-05/0.1253, allocations: 4 kB / 0.6365 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1253, allocations: 0 / 0.6365 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1253, allocations: 3.984 kB / 0.6365 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1255, allocations: 23.92 kB / 0.6366 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1255, allocations: 3.984 kB / 0.6366 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.1256, allocations: 19.83 kB / 0.6366 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.1256, allocations: 4 kB / 0.6366 GB, free: 15.64 MB / 494.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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.301e-05/0.1257, allocations: 113.8 kB / 0.6367 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.1257, allocations: 11.91 kB / 0.6367 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.126, allocations: 156.4 kB / 0.6369 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.126, allocations: 4 kB / 0.6369 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.126, allocations: 0 / 0.6369 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.126, allocations: 3.938 kB / 0.6369 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.1262, allocations: 209.5 kB / 0.6371 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1262, allocations: 0 / 0.6371 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.675e-05/0.1262, allocations: 15.98 kB / 0.6371 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1262, allocations: 0 / 0.6371 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.1263, allocations: 12 kB / 0.6371 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1263, allocations: 0 / 0.6371 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1263, allocations: 0 / 0.6371 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.1265, allocations: 160.9 kB / 0.6373 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.1266, allocations: 93 kB / 0.6373 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.1267, allocations: 0 / 0.6373 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1268, allocations: 4 kB / 0.6373 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.1268, allocations: 23.91 kB / 0.6374 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.1268, allocations: 8 kB / 0.6374 GB, free: 14.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.589e-05/0.1269, allocations: 95.27 kB / 0.6375 GB, free: 14.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1269, allocations: 4 kB / 0.6375 GB, free: 14.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002034/0.1271, allocations: 20 kB / 0.6375 GB, free: 14.62 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000674/0.1278, allocations: 0.7021 MB / 0.6382 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.1281, allocations: 85.83 kB / 0.6383 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1281, allocations: 0 / 0.6383 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.109e-05/0.1282, allocations: 55.92 kB / 0.6383 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.1283, allocations: 14.55 kB / 0.6383 GB, free: 13.74 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.1298, allocations: 1.467 MB / 0.6398 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.1301, allocations: 0.6963 MB / 0.6404 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.008e-05/0.1302, allocations: 16.5 kB / 0.6405 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.1302, allocations: 31.42 kB / 0.6405 GB, free: 11.42 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1302, allocations: 0 / 0.6405 GB, free: 11.42 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.1478, allocations: 2.341 MB / 0.6428 GB, free: 9.223 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.936/7.084, allocations: 12.44 kB / 0.6428 GB, free: 9.211 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)